6 references to IDS_FeatureRefFields
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
8608
CheckFeatureAvailability(node, MessageID.
IDS_FeatureRefFields
, diagnostics);
Errors\MessageID.cs (1)
519
case MessageID.
IDS_FeatureRefFields
: // semantic check
Symbols\Source\ModifierUtils.cs (1)
122
if (MessageID.
IDS_FeatureRefFields
.GetFeatureAvailabilityDiagnosticInfo((CSharpParseOptions)syntax.SyntaxTree.Options) is { } diagnosticInfo)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
501
|| reportIfContextual(SyntaxKind.ScopedKeyword, MessageID.
IDS_FeatureRefFields
, ErrorCode.ERR_ScopedTypeNameDisallowed))
Symbols\Source\SourceMemberFieldSymbol.cs (1)
493
MessageID.
IDS_FeatureRefFields
.CheckFeatureAvailability(diagnostics, compilation, typeSyntax.SkipScoped(out _).Location);
Symbols\Source\SourceModuleSymbol.cs (1)
698
bool value = compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefFields
) || _assemblySymbol.RuntimeSupportsByRefFields;