12 references to CheckFeatureAvailability
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Lambda.cs (1)
401
MessageID.IDS_FeatureLambdaDiscardParameters.
CheckFeatureAvailability
(
Binder\Binder_Patterns.cs (1)
654
if (MessageID.IDS_FeatureSpanCharConstantPattern.
CheckFeatureAvailability
(diagnostics, Compilation, node.Location))
Binder\Binder_Statements.cs (1)
222
MessageID.IDS_FeatureAsyncStreams.
CheckFeatureAvailability
(
Binder\ExecutableCodeBinder.cs (1)
132
MessageID.IDS_FeatureRefUnsafeInIteratorAsync.
CheckFeatureAvailability
(diagnostics, compilation, errorLocation);
Binder\ForEachLoopBinder.cs (1)
242
messageId.
CheckFeatureAvailability
(diagnostics, Compilation, collectionExpr.Syntax.Location);
Binder\UsingStatementBinder.cs (1)
204
MessageID.IDS_FeatureDisposalPattern.
CheckFeatureAvailability
(diagnostics, originalBinder.Compilation, syntax.Location);
Symbols\Source\SourceMemberContainerSymbol.cs (3)
4111
MessageID.IDS_FeatureParameterlessStructConstructors.
CheckFeatureAvailability
(diagnostics, m.DeclaringCompilation, location);
4140
MessageID.IDS_FeatureStructFieldInitializers.
CheckFeatureAvailability
(diagnostics, symbol.DeclaringCompilation, symbol.GetFirstLocation());
4484
MessageID.IDS_FeatureSealedToStringInRecord.
CheckFeatureAvailability
(
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1546
MessageID.IDS_AsyncMethodBuilderOverride.
CheckFeatureAvailability
(diagnostics, this.DeclaringCompilation, errorLocation);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
109
MessageID.IDS_FeatureGenericAttributes.
CheckFeatureAvailability
(diagnostics, this.DeclaringCompilation, baseLocation);
Symbols\TypeSymbol.cs (1)
1969
MessageID.IDS_FeatureRefStructInterfaces.
CheckFeatureAvailability
(diagnostics, implementingSymbol.DeclaringCompilation, applicationSyntaxReference.GetLocation());