62 references to field
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (33)
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (5)
8625""", "x", $"({FeaturesResources.field}) int C.x"); 8651({FeaturesResources.field}) int C.x 8686({FeaturesResources.field}) int C.x 8725({FeaturesResources.field}) int C.x 9056""", "x", $"({FeaturesResources.field}) int C.x");
QuickInfo\SemanticQuickInfoSourceTests.cs (28)
982MainDescription($"({FeaturesResources.field}) int C.field")); 995MainDescription($"({FeaturesResources.field}) int C.field")); 1375MainDescription($"({FeaturesResources.field}) DateTime C.field")); 1387MainDescription($"({FeaturesResources.field}) System.IO.FileInfo C.file")); 1396MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField")); 1406MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField"), 1416MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField")); 1426MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField"), 1525MainDescription($"({FeaturesResources.field}) static readonly DateTime DateTime.MaxValue")); 1537MainDescription($"({FeaturesResources.field}) static readonly System.DateTime System.DateTime.MaxValue")); 1551MainDescription($"({FeaturesResources.field}) static readonly System.DateTime System.DateTime.MaxValue")); 1567MainDescription($"({FeaturesResources.field}) static readonly DateTime DateTime.MaxValue")); 1586MainDescription($"({FeaturesResources.field}) int C<int>.Field")); 1602MainDescription($"({FeaturesResources.field}) T C<T>.Field")); 1980MainDescription($"({FeaturesResources.field}) dynamic C.dyn")); 2910MainDescription($"({FeaturesResources.field}) int test.z")); 3089MainDescription($"({FeaturesResources.field}) DateTime C.field")); 3095MainDescription($"({FeaturesResources.field}) NonExistentType<int> C.field")); 4270MainDescription($"({FeaturesResources.field}) classAttribute classAttribute.x")); 4283MainDescription($"({FeaturesResources.field}) class1Attribute class1Attribute.x")); 5519""", [MainDescription($"({FeaturesResources.field}) int C.x"), Usage("")]); 7203MainDescription($"({FeaturesResources.field}) string? X.s"), 7223MainDescription($"({FeaturesResources.field}) string? X.s"), 7242MainDescription($"({FeaturesResources.field}) string X.s"), 7259MainDescription($"({FeaturesResources.field}) string? X.P.field"), 7276MainDescription($"({FeaturesResources.field}) string X.P.field"), 7292MainDescription($"({FeaturesResources.field}) string X.P.field"), 9855MainDescription($"({FeaturesResources.field}) string C.s"));
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
2043return declaration.Modifiers.Any(SyntaxKind.ConstKeyword) ? FeaturesResources.const_field : FeaturesResources.field;
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (26)
EditAndContinue\Helpers\EditingTestBase.cs (1)
81"field" => FeaturesResources.field,
EditAndContinue\TopLevelEditingTests.cs (25)
2279Diagnostic(RudeEditKind.InsertIntoInterface, "StaticField = 10", FeaturesResources.field), 2411Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F1", FeaturesResources.field), 2412Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F2", FeaturesResources.field), 2413Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "SF", FeaturesResources.field), 2419Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F1", FeaturesResources.field), 2420Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F2", FeaturesResources.field), 2421Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "SF", FeaturesResources.field), 2470Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "X", FeaturesResources.field), 2471Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "Y", FeaturesResources.field) 3112Diagnostic(RudeEditKind.InsertOrMoveStructMember, "_y = 0", FeaturesResources.field, CSharpFeaturesResources.record_struct)); 3552edits.VerifySemanticDiagnostics(Diagnostic(RudeEditKind.Delete, "record C", DeletedSymbolDisplay(FeaturesResources.field, "_y"))); 17054Diagnostic(RudeEditKind.Delete, "class C", DeletedSymbolDisplay(FeaturesResources.field, "a"))); 18961Diagnostic(RudeEditKind.ModifiersUpdate, "F", FeaturesResources.field) 18995Diagnostic(RudeEditKind.FixedSizeFieldUpdate, "a[2]", FeaturesResources.field), 18996Diagnostic(RudeEditKind.FixedSizeFieldUpdate, "b[3]", FeaturesResources.field)); 19676[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a = 1", FeaturesResources.field)], 19689[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a = 1", FeaturesResources.field)], 19718Diagnostic(RudeEditKind.ChangingAttributesNotSupportedByRuntime, "public int a = 1, x = 1", FeaturesResources.field), 19719Diagnostic(RudeEditKind.ChangingAttributesNotSupportedByRuntime, "public int a = 1, x = 1", FeaturesResources.field), 19811Diagnostic(RudeEditKind.Delete, "class C", DeletedSymbolDisplay(FeaturesResources.field, "a"))); 19840Diagnostic(RudeEditKind.TypeUpdate, "Node left", FeaturesResources.field)); 19891Diagnostic(RudeEditKind.TypeUpdate, "string G, F", FeaturesResources.field), 19892Diagnostic(RudeEditKind.TypeUpdate, "string G, F", FeaturesResources.field), 19893Diagnostic(RudeEditKind.TypeUpdate, "double V, U", FeaturesResources.field), 19894Diagnostic(RudeEditKind.Delete, "string G, F", DeletedSymbolDisplay(FeaturesResources.field, "H")));
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
341FeaturesResources.field;
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
638: Description(FeaturesResources.field),