1 instantiation of SwitchLabel
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
413
keys.Add(new
SwitchLabel
(key, test.Value!, labels[i]));
14 references to SwitchLabel
System.Linq.Expressions (14)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (14)
293
private static bool FitsInBucket(List<
SwitchLabel
> buckets, decimal key, int count)
305
private static void MergeBuckets(List<List<
SwitchLabel
>> buckets)
309
List<
SwitchLabel
> first = buckets[buckets.Count - 2];
310
List<
SwitchLabel
> second = buckets[buckets.Count - 1];
324
private static void AddToBuckets(List<List<
SwitchLabel
>> buckets,
SwitchLabel
key)
328
List<
SwitchLabel
> last = buckets[buckets.Count - 1];
338
buckets.Add(new List<
SwitchLabel
> { key });
396
var keys = new List<
SwitchLabel
>();
420
var buckets = new List<List<
SwitchLabel
>>();
421
foreach (
SwitchLabel
key in keys)
529
private void EmitSwitchBuckets(SwitchInfo info, List<List<
SwitchLabel
>> buckets, int first, int last)
564
private void EmitSwitchBucket(SwitchInfo info, List<
SwitchLabel
> bucket)
613
foreach (
SwitchLabel
label in bucket)