6 references to IDS_FeatureRefFields
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
8608CheckFeatureAvailability(node, MessageID.IDS_FeatureRefFields, diagnostics);
Errors\MessageID.cs (1)
519case MessageID.IDS_FeatureRefFields: // semantic check
Symbols\Source\ModifierUtils.cs (1)
122if (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)
493MessageID.IDS_FeatureRefFields.CheckFeatureAvailability(diagnostics, compilation, typeSyntax.SkipScoped(out _).Location);
Symbols\Source\SourceModuleSymbol.cs (1)
698bool value = compilation.IsFeatureEnabled(MessageID.IDS_FeatureRefFields) || _assemblySymbol.RuntimeSupportsByRefFields;