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