3 references to CheckFeatureAvailability
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (1)
1166
return !
CheckFeatureAvailability
(identifierToken, MessageID.IDS_FeatureRefUnsafeInIteratorAsync, diagnostics);
Binder\UsingStatementBinder.cs (2)
98
CheckFeatureAvailability
(usingKeyword, MessageID.IDS_FeatureUsingDeclarations, diagnostics);
102
CheckFeatureAvailability
(awaitKeyword, MessageID.IDS_FeatureAsyncUsing, diagnostics);