Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GetPreprocessingSymbolInfo returns info when inside #pragma warning directive #72907

@Rekkonnect

Description

@Rekkonnect

During #66425 we discovered that CSharpSemanticModel.GetPreprocessingSymbolInfo(IdentifierNameSyntax) returns valid preprocessing info when invoked on an IdentifierNameSyntax inside a #pragma warning directive, where the identifier is not a preprocessing symbol.

Upon request of @CyrusNajmabadi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-CompilersBughelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions