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