60 references to StackAllocUpdate
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
2493rudeEdit = 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)
7042Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("lambda"))); 7068Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("lambda"))); 7094Diagnostic(RudeEditKind.StackAllocUpdate, "()", GetResource("lambda"))); 10345Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("local function"))); 10382Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("local function"))); 10419Diagnostic(RudeEditKind.StackAllocUpdate, "L1", GetResource("local function"))); 12325Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("where clause")), 12326Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[40]", GetResource("select clause")), 12327Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("groupby clause")), 12328Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[30]", GetResource("groupby clause")));
EditAndContinue\TopLevelEditingTests.cs (45)
3419Diagnostic(RudeEditKind.StackAllocUpdate, "record C", GetResource(kind, methodDisplay))); 9922Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc char[16]", FeaturesResources.method), 9962Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc char[16]", FeaturesResources.method)); 10000Diagnostic(RudeEditKind.StackAllocUpdate, "static void F()", FeaturesResources.method)); 12795Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[2]", FeaturesResources.constructor)); 12806Diagnostic(RudeEditKind.StackAllocUpdate, "C()", FeaturesResources.constructor)); 12817Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", FeaturesResources.constructor)); 13227Diagnostic(RudeEditKind.StackAllocUpdate, "public C()", GetResource("constructor"))); 13252Diagnostic(RudeEditKind.StackAllocUpdate, "public C()", GetResource("constructor")) 13291Diagnostic(RudeEditKind.StackAllocUpdate, "partial class C", GetResource("constructor", "C()")) 15421Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", FeaturesResources.constructor)); 15446Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("constructor"))); 15470Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 15496Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("auto-property")), 15497Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 15511Diagnostic(RudeEditKind.StackAllocUpdate, "int a", GetResource("auto-property")), 15512Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 15524Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("auto-property"))); 15538Diagnostic(RudeEditKind.StackAllocUpdate, "int a", GetResource("auto-property")), 15539Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 15551Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("auto-property"))); 15565Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource(accessor == "" ? "field" : "auto-property")), 15566Diagnostic(RudeEditKind.StackAllocUpdate, "public G(Span<int> span)", GetResource("constructor"))); 15581Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("constructor"))); 15596Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", FeaturesResources.constructor)); 18354Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property getter")), 18355Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property setter")) 18673Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property getter")), 18674Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property setter")) 20436Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter")), 20437Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer setter")) 20464[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 20574Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter")), 20575Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer setter")) 20590[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 20810[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 20840[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 20870[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 21777Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 21778Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 21794Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 21795Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")) 23508Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[2]", GetResource("top-level code")), 23523Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[3]", GetResource("top-level code")), 23538Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[3]", GetResource("top-level code")),
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (1)
120AddRudeEdit(RudeEditKind.StackAllocUpdate, nameof(FeaturesResources.Modifying_0_which_contains_the_stackalloc_operator_requires_restarting_the_application));