9 references to GetFeatureAvailabilityDiagnosticInfo
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Symbols.cs (1)
2741if (feature.GetFeatureAvailabilityDiagnosticInfo((CSharpParseOptions)tree.Options) is { } diagInfo)
Errors\LazyMissingNonNullTypesContextDiagnosticInfo.cs (1)
67var info = featureId.GetFeatureAvailabilityDiagnosticInfo(tree.Options);
Errors\MessageID.cs (2)
409if (GetFeatureAvailabilityDiagnosticInfo(feature, (CSharpParseOptions)parseOptions) is { } diagInfo) 424if (GetFeatureAvailabilityDiagnosticInfo(feature, (CSharpParseOptions)parseOptions) is { } diagInfo)
Parser\Lexer.cs (1)
798var info = feature.GetFeatureAvailabilityDiagnosticInfo(Options);
Parser\Lexer_StringLiteral.cs (1)
155var info = MessageID.IDS_FeatureStringEscapeCharacter.GetFeatureAvailabilityDiagnosticInfo(this.Options);
Parser\SyntaxParser.cs (1)
1135var info = feature.GetFeatureAvailabilityDiagnosticInfo(this.Options);
Symbols\Source\LocalFunctionSymbol.cs (1)
397var diagnosticInfo = MessageID.IDS_FeatureLocalFunctionAttributes.GetFeatureAvailabilityDiagnosticInfo((CSharpParseOptions)syntaxReferenceOpt.SyntaxTree.Options);
Symbols\Source\ModifierUtils.cs (1)
122if (MessageID.IDS_FeatureRefFields.GetFeatureAvailabilityDiagnosticInfo((CSharpParseOptions)syntax.SyntaxTree.Options) is { } diagnosticInfo)