6 references to _switchArms
Microsoft.CodeAnalysis.CSharp (6)
Lowering\LocalRewriter\LocalRewriter_BasePatternSwitchLocalRewriter.cs (6)
33
bool found =
_switchArms
.TryGetValue(sectionSyntax, out ArrayBuilder<BoundStatement>? result);
56
_switchArms
.Add(arm, armBuilder);
62
foreach (var entry in
_switchArms
)
67
_switchArms
.Free();
77
var switchSections =
_switchArms
.ToImmutableDictionary(kv => kv.Key, kv => kv.Value.ToImmutableAndFree());
78
_switchArms
.Clear();