25 references to DeletedSymbolDisplay
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (25)
EditAndContinue\ActiveStatementTests.cs (1)
12379
Diagnostic(RudeEditKind.Delete, null,
DeletedSymbolDisplay
(FeaturesResources.class_, "C")));
EditAndContinue\ActiveStatementTests.Methods.cs (1)
56
diagnostics: [Diagnostic(RudeEditKind.DeleteActiveStatement, "class C",
DeletedSymbolDisplay
(FeaturesResources.method, "C.Goo(int)"))])
EditAndContinue\TopLevelEditingTests.cs (23)
2493
Diagnostic(RudeEditKind.Delete, null,
DeletedSymbolDisplay
(FeaturesResources.class_, "C")),
2494
Diagnostic(RudeEditKind.Delete, null,
DeletedSymbolDisplay
(FeaturesResources.struct_, "S")),
2495
Diagnostic(RudeEditKind.Delete, null,
DeletedSymbolDisplay
(FeaturesResources.interface_, "I")));
3450
edits.VerifySemanticDiagnostics(Diagnostic(RudeEditKind.Delete, "record C",
DeletedSymbolDisplay
(FeaturesResources.field, "_y")));
4684
Diagnostic(RudeEditKind.Delete, "enum Color",
DeletedSymbolDisplay
(FeaturesResources.enum_value, "Blue")));
4698
Diagnostic(RudeEditKind.Delete, "enum Color",
DeletedSymbolDisplay
(FeaturesResources.enum_value, "Blue")));
4843
Diagnostic(RudeEditKind.Delete, "class C",
DeletedSymbolDisplay
(FeaturesResources.delegate_, "D")));
5092
Diagnostic(RudeEditKind.Delete, "public delegate int D()",
DeletedSymbolDisplay
(FeaturesResources.type_parameter, "T")));
6777
Diagnostic(RudeEditKind.Delete, "partial class C",
DeletedSymbolDisplay
(GetResource("class"), "C")));
8032
Diagnostic(RudeEditKind.Delete, "class C",
DeletedSymbolDisplay
(FeaturesResources.method, "goo()")));
8116
Diagnostic(RudeEditKind.Delete, "class C",
DeletedSymbolDisplay
(FeaturesResources.method, "puts(string c)")));
13407
Diagnostic(RudeEditKind.ChangingAccessibility, "class C",
DeletedSymbolDisplay
(FeaturesResources.constructor, "C()")));
13579
Diagnostic(RudeEditKind.ChangingAccessibility, keyword + " C",
DeletedSymbolDisplay
(FeaturesResources.constructor, "C()"))
13609
Diagnostic(RudeEditKind.ChangingAccessibility, "abstract " + keyword + " C",
DeletedSymbolDisplay
(FeaturesResources.constructor, "C()"))
14425
Diagnostic(RudeEditKind.Delete, "class C",
DeletedSymbolDisplay
(FeaturesResources.static_constructor, "C()")));
14517
Diagnostic(RudeEditKind.Delete, "class B",
DeletedSymbolDisplay
(CSharpFeaturesResources.destructor, "~B()")));
14535
Diagnostic(RudeEditKind.Delete, "class B",
DeletedSymbolDisplay
(CSharpFeaturesResources.destructor, "~B()")));
14837
Diagnostic(RudeEditKind.Delete, "class C",
DeletedSymbolDisplay
(FeaturesResources.field, "a")));
14902
Diagnostic(RudeEditKind.ChangingAttributesNotSupportedByRuntime, $"class C",
DeletedSymbolDisplay
(FeaturesResources.constructor, "C()")),
14903
Diagnostic(RudeEditKind.ChangingAccessibility, $"class C",
DeletedSymbolDisplay
(FeaturesResources.constructor, "C()"))
14917
Diagnostic(RudeEditKind.ChangingAccessibility, $"class C",
DeletedSymbolDisplay
(FeaturesResources.constructor, "C()")));
17408
Diagnostic(RudeEditKind.Delete, "class C",
DeletedSymbolDisplay
(FeaturesResources.field, "a")));
17491
Diagnostic(RudeEditKind.Delete, "string G, F",
DeletedSymbolDisplay
(FeaturesResources.field, "H")));