5 references to CheckFeatureAvailability
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (2)
4531
MessageID.IDS_FeatureNestedStackalloc.
CheckFeatureAvailability
(diagnostics, node.GetFirstToken());
4613
MessageID.IDS_FeatureStackAllocInitializer.
CheckFeatureAvailability
(diagnostics, stackAllocKeyword);
Symbols\Source\ModifierUtils.cs (1)
30
modifierErrors |= !MessageID.IDS_FeatureReadOnlyMembers.
CheckFeatureAvailability
(diagnostics, readonlyToken);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
199
MessageID.IDS_FeatureFixedBuffer.
CheckFeatureAvailability
(diagnostics, modifier);
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
219
MessageID.IDS_FeaturePropertyAccessorMods.
CheckFeatureAvailability
(diagnostics, modifiers[0]);