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)
3403Diagnostic(RudeEditKind.StackAllocUpdate, "record C", GetResource(kind, methodDisplay))); 11983Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc char[16]", FeaturesResources.method), 12023Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc char[16]", FeaturesResources.method)); 12061Diagnostic(RudeEditKind.StackAllocUpdate, "static void F()", FeaturesResources.method)); 14826Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[2]", FeaturesResources.constructor)); 14837Diagnostic(RudeEditKind.StackAllocUpdate, "C()", FeaturesResources.constructor)); 14848Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", FeaturesResources.constructor)); 15258Diagnostic(RudeEditKind.StackAllocUpdate, "public C()", GetResource("constructor"))); 15282Diagnostic(RudeEditKind.StackAllocUpdate, "public C()", GetResource("constructor")) 15317Diagnostic(RudeEditKind.StackAllocUpdate, "partial class C", GetResource("constructor", "C()")) 17541Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", FeaturesResources.constructor)); 17566Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("constructor"))); 17590Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17616Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource("auto-property")), 17617Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17631Diagnostic(RudeEditKind.StackAllocUpdate, "int a", GetResource("auto-property")), 17632Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17644Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("auto-property"))); 17658Diagnostic(RudeEditKind.StackAllocUpdate, "int a", GetResource("auto-property")), 17659Diagnostic(RudeEditKind.StackAllocUpdate, "class C", GetResource("constructor", "C()"))); 17671Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("auto-property"))); 17685Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[20]", GetResource(accessor == "" ? "field" : "auto-property")), 17686Diagnostic(RudeEditKind.StackAllocUpdate, "public G(Span<int> span)", GetResource("constructor"))); 17701Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", GetResource("constructor"))); 17716Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[10]", FeaturesResources.constructor)); 20468Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property getter")), 20469Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property setter")) 20787Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property getter")), 20788Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("property setter")) 22532Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter")), 22533Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer setter")) 22560[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22670Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter")), 22671Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer setter")) 22686[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22906[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22936[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 22966[Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("indexer getter"))], 23867Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 23868Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 23884Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")), 23885Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[1]", GetResource("event accessor")) 25594Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[2]", GetResource("top-level code")), 25609Diagnostic(RudeEditKind.StackAllocUpdate, "stackalloc int[3]", GetResource("top-level code")), 25624Diagnostic(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));