70 references to InsertNotSupportedByRuntime
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (65)
EditAndContinue\StatementEditingTests.cs (19)
2199[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a", GetResource("lambda"))], 2240[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a", GetResource("lambda"))], 2281[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a", GetResource("lambda"))], 2326[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a", GetResource("lambda"))], 2369[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "b", GetResource("lambda"))], 2702[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "b", GetResource("lambda"))], 2746[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "b", GetResource("lambda"))], 2788[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "b", GetResource("lambda"))], 3317[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "b", CSharpFeaturesResources.lambda)], 7389Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "f", GetResource("local function")), 7433Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "f", GetResource("local function")), 7490Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "f", GetResource("local function")) 8160[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "M", FeaturesResources.local_function)], 12213Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "where", GetResource("where clause")), 12214Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "group", GetResource("groupby clause")), 12215Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "select", GetResource("select clause")) 12271Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "where", GetResource("where clause")), 12272Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "group", GetResource("groupby clause")), 12273Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "select", GetResource("select clause"))
EditAndContinue\TopLevelEditingTests.cs (46)
1928[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "public class D", FeaturesResources.class_)], 2186[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "class C<T>", GetResource("class"))], 2360Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "C(int x)", FeaturesResources.constructor), 2361Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "void M()", FeaturesResources.method), 2362Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "void G<S>()", FeaturesResources.method), 2363Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P2", FeaturesResources.property_), 2364Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int this[int i]", FeaturesResources.indexer_), 2365Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "event Action E", FeaturesResources.event_), 2366Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "set", CSharpFeaturesResources.property_setter), 2367Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "get", CSharpFeaturesResources.indexer_getter), 2409Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", FeaturesResources.auto_property), 2410Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "EF", CSharpFeaturesResources.event_field), 2411Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F1", FeaturesResources.field), 2412Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F2", FeaturesResources.field), 2413Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "SF", FeaturesResources.field), 2418Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", GetResource("auto-property")), 2419Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F1", FeaturesResources.field), 2420Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "F2", FeaturesResources.field), 2421Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "SF", FeaturesResources.field), 2426Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", FeaturesResources.auto_property), 2427Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "EF", CSharpFeaturesResources.event_field) 2469Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "void F()", FeaturesResources.method), 2470Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "X", FeaturesResources.field), 2471Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "Y", FeaturesResources.field) 3632[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "record C", GetResource("property getter", "X.get"))], 3653Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "record C<T>", GetResource("property getter", "X.get")) 6376[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "class C", GetResource("class"))], 6393[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "class C", GetResource("class"))], 8013[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "void goo()", FeaturesResources.method)], 13048Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "(int P)", GetResource("constructor")), 13049Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", GetResource("parameter")) 14147[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "c", GetResource("lambda"))], 17222Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "c", GetResource("lambda")), 17223Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "B = F(b => b + 1)", GetResource("field")), 17382[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a = 1", FeaturesResources.field)], 17395[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "a = 1", FeaturesResources.field)], 17689[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", GetResource("property getter"))], 18647[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", FeaturesResources.property_)], 18809[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", GetResource("auto-property"))], 18847[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "static int P", GetResource("auto-property"))], 18868[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", GetResource("auto-property"))], 18895[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "int P", GetResource("auto-property"))], 18918[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "static int P", GetResource("auto-property"))], 18945[Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "static int P", GetResource("auto-property"))], 19184Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "get", GetResource("property getter")) 19208Diagnostic(RudeEditKind.InsertNotSupportedByRuntime, "get", GetResource("property getter"))
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (4)
3088RudeEditKind.InsertNotSupportedByRuntime, 3130RudeEditKind.InsertNotSupportedByRuntime, 4362rudeEdit = RudeEditKind.InsertNotSupportedByRuntime; 5963diagnostics.Add(new RudeEditDiagnostic(RudeEditKind.InsertNotSupportedByRuntime, GetDiagnosticSpan(newLambda, EditKind.Insert), newLambda, [GetDisplayName(newLambda, EditKind.Insert)]));
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (1)
160AddRudeEdit(RudeEditKind.InsertNotSupportedByRuntime, nameof(FeaturesResources.Adding_0_requires_restarting_the_application));