17 references to CheckFeatureAvailability
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Deconstruct.cs (2)
46
.
CheckFeatureAvailability
(diagnostics, Compilation, node.Location);
55
.
CheckFeatureAvailability
(diagnostics, Compilation, node.Location);
Binder\Binder_Lambda.cs (1)
392
MessageID.IDS_FeatureLambdaDiscardParameters.
CheckFeatureAvailability
(
Binder\Binder_Patterns.cs (1)
655
if (MessageID.IDS_FeatureSpanCharConstantPattern.
CheckFeatureAvailability
(diagnostics, Compilation, node.Location))
Binder\Binder_Statements.cs (1)
222
MessageID.IDS_FeatureAsyncStreams.
CheckFeatureAvailability
(
Binder\ExecutableCodeBinder.cs (1)
137
MessageID.IDS_FeatureRefUnsafeInIteratorAsync.
CheckFeatureAvailability
(diagnostics, compilation, errorLocation);
Binder\ForEachLoopBinder.cs (1)
244
messageId.
CheckFeatureAvailability
(diagnostics, Compilation, collectionExpr.Syntax.Location);
Binder\UsingStatementBinder.cs (1)
207
MessageID.IDS_FeatureDisposalPattern.
CheckFeatureAvailability
(diagnostics, originalBinder.Compilation, syntax.Location);
Symbols\Source\SourceMemberContainerSymbol.cs (4)
1855
MessageID.IDS_FeatureExtensions.
CheckFeatureAvailability
(diagnostics, compilation, location);
4695
MessageID.IDS_FeatureParameterlessStructConstructors.
CheckFeatureAvailability
(diagnostics, m.DeclaringCompilation, location);
4724
MessageID.IDS_FeatureStructFieldInitializers.
CheckFeatureAvailability
(diagnostics, symbol.DeclaringCompilation, symbol.GetFirstLocation());
5077
MessageID.IDS_FeatureSealedToStringInRecord.
CheckFeatureAvailability
(
Symbols\Source\SourceMemberFieldSymbol.cs (1)
504
MessageID.IDS_FeatureRefFields.
CheckFeatureAvailability
(diagnostics, compilation, typeSyntax.SkipScoped(out _).Location);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1560
MessageID.IDS_AsyncMethodBuilderOverride.
CheckFeatureAvailability
(diagnostics, this.DeclaringCompilation, errorLocation);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
109
MessageID.IDS_FeatureGenericAttributes.
CheckFeatureAvailability
(diagnostics, this.DeclaringCompilation, baseLocation);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
717
var available = MessageID.IDS_FeaturePartialEventsAndConstructors.
CheckFeatureAvailability
(diagnostics, DeclaringCompilation, ReturnTypeLocation);
Symbols\TypeSymbol.cs (1)
1975
MessageID.IDS_FeatureRefStructInterfaces.
CheckFeatureAvailability
(diagnostics, implementingSymbol.DeclaringCompilation, applicationSyntaxReference.GetLocation());