Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extension with type not available in class scope #2081

Closed
EnokViking opened this issue Jan 2, 2025 · 1 comment
Closed

extension with type not available in class scope #2081

EnokViking opened this issue Jan 2, 2025 · 1 comment

Comments

@EnokViking
Copy link

namespace System;
extension Math 
{
    public struct Test {}
}

namespace Project;
using System;
class Program 
{
    static Math.Test; //not available
    public static void Main() { Math.Test a;  } //available
}
@bfiete
Copy link
Collaborator

bfiete commented Jan 2, 2025

Fixed at 69fab22

@bfiete bfiete closed this as completed Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants