1 instantiation of SwitchLabel
System.Core (1)
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
363
keys.Add(new
SwitchLabel
(key, test.Value, labels[i]));
14 references to SwitchLabel
System.Core (14)
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (14)
259
private static bool FitsInBucket(List<
SwitchLabel
> buckets, decimal key, int count) {
269
private static void MergeBuckets(List<List<
SwitchLabel
>> buckets) {
271
List<
SwitchLabel
> first = buckets[buckets.Count - 2];
272
List<
SwitchLabel
> second = buckets[buckets.Count - 1];
285
private static void AddToBuckets(List<List<
SwitchLabel
>> buckets,
SwitchLabel
key) {
287
List<
SwitchLabel
> last = buckets[buckets.Count - 1];
296
buckets.Add(new List<
SwitchLabel
> { key });
348
var keys = new List<
SwitchLabel
>();
371
var buckets = new List<List<
SwitchLabel
>>();
372
foreach (
var
key in keys) {
466
private void EmitSwitchBuckets(SwitchInfo info, List<List<
SwitchLabel
>> buckets, int first, int last) {
493
private void EmitSwitchBucket(SwitchInfo info, List<
SwitchLabel
> bucket) {
537
foreach (
SwitchLabel
label in bucket) {