60 references to StackAllocUpdate
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
2510rudeEdit = RudeEditKind.StackAllocUpdate;
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (58)
EditAndContinue\LineEditTests.cs (3)
751diagnostics: [Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc bool[64]", GetResource("method"))]); 757[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc bool[64]", GetResource("method"))]); 789diagnostics: [Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc bool[64]", GetResource("method"))]);
EditAndContinue\StatementEditingTests.cs (10)
7110Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("lambda"))); 7136Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("lambda"))); 7162Diagnostic(RudeEditKind.StackAllocUpdate, "()", GetResource("lambda"))); 10413Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("local function"))); 10450Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("local function"))); 10487Diagnostic(RudeEditKind.StackAllocUpdate, "L1", GetResource("local function"))); 12393Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("where clause")), 12394Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[40]", GetResource("select clause")), 12395Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("groupby clause")), 12396Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[30]", GetResource("groupby clause")));
EditAndContinue\TopLevelEditingTests.cs (45)
3399Diagnostic(RudeEditKind.StackAllocUpdate, "record C", GetResource(kind, methodDisplay))); 11926Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc char[16]", FeaturesResources.method), 11966Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc char[16]", FeaturesResources.method)); 12004Diagnostic(RudeEditKind.StackAllocUpdate, "static void F()", FeaturesResources.method)); 14769Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[2]", FeaturesResources.constructor)); 14780Diagnostic(RudeEditKind.StackAllocUpdate, "C()", FeaturesResources.constructor)); 14791Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", FeaturesResources.constructor)); 15201Diagnostic(RudeEditKind.StackAllocUpdate, "public C()", GetResource("constructor"))); 15225Diagnostic(RudeEditKind.StackAllocUpdate, "public C()", GetResource("constructor")) 15260Diagnostic(RudeEditKind.StackAllocUpdate, "partial class C", GetResource("constructor", "C()")) 17345Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", FeaturesResources.constructor)); 17370Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("constructor"))); 17394Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17420Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("auto-property")), 17421Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17435Diagnostic(RudeEditKind.StackAllocUpdate, "int a", GetResource("auto-property")), 17436Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17448Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("auto-property"))); 17462Diagnostic(RudeEditKind.StackAllocUpdate, "int a", GetResource("auto-property")), 17463Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17475Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("auto-property"))); 17489Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource(accessor == "" ? "field" : "auto-property")), 17490Diagnostic(RudeEditKind.StackAllocUpdate, "public G(Span<int> span)", GetResource("constructor"))); 17505Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("constructor"))); 17520Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", FeaturesResources.constructor)); 20272Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property getter")), 20273Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property setter")) 20591Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property getter")), 20592Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property setter")) 22336Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter")), 22337Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer setter")) 22364[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22474Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter")), 22475Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer setter")) 22490[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22710[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22740[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22770[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 23671Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 23672Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 23688Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 23689Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")) 25398Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[2]", GetResource("top-level code")), 25413Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[3]", GetResource("top-level code")), 25428Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[3]", GetResource("top-level code")),
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (1)
130AddRudeEdit(RudeEditKind.StackAllocUpdate, nameof(FeaturesResources.Modifying_0_which_contains_the_stackalloc_operator_requires_restarting_the_application));