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