79 references to Ldc_I4
illink (4)
Linker.Steps\CodeRewriterStep.cs (1)
249
return Instruction.Create(OpCodes.
Ldc_I4
, intValue);
Linker.Steps\UnreachableBlocksOptimizer.cs (3)
354
return Instruction.Create(OpCodes.
Ldc_I4
, result ? 1 : 0); // op_Equality / op_Inequality
1908
PushOnStack(Instruction.Create(OpCodes.
Ldc_I4
, lint == rint ? 1 : 0));
1914
PushOnStack(Instruction.Create(OpCodes.
Ldc_I4
, llong == rlong ? 1 : 0));
Microsoft.Maui.Controls.Build.Tasks (63)
CompiledConverters\ColumnDefinitionCollectionTypeConverter.cs (2)
22
yield return Create(
Ldc_I4
, parts.Length);
27
yield return Create(
Ldc_I4
, i);
CompiledConverters\EnumTypeConverter.cs (1)
18
yield return Instruction.Create(OpCodes.
Ldc_I4
, (int)(object)enumValue);
CompiledConverters\FontSizeTypeConverter.cs (1)
29
yield return Instruction.Create(OpCodes.
Ldc_I4
, (int)namedSize);
CompiledConverters\GridLengthTypeConverter.cs (1)
35
yield return Create(
Ldc_I4
, (int)GridUnitType.Star);
CompiledConverters\ListStringTypeConverter.cs (1)
25
yield return Create(
Ldc_I4
, parts.Count);
CompiledConverters\RowDefinitionCollectionTypeConverter.cs (2)
22
yield return Create(
Ldc_I4
, parts.Length);
27
yield return Create(
Ldc_I4
, i);
CompiledConverters\StrokeShapeTypeConverter.cs (2)
220
yield return Instruction.Create(OpCodes.
Ldc_I4
, points.Count);
227
yield return Instruction.Create(OpCodes.
Ldc_I4
, i);
CompiledMarkupExtensions\ArrayExtension.cs (3)
24
yield return Instruction.Create(OpCodes.
Ldc_I4
, n);
43
yield return Instruction.Create(OpCodes.
Ldc_I4
, i);
52
yield return Instruction.Create(OpCodes.
Ldc_I4
, i);
CompiledMarkupExtensions\StaticExtension.cs (5)
49
return new[] { Instruction.Create(OpCodes.
Ldc_I4
, (char)fieldDef.Constant) };
55
return new[] { Instruction.Create(OpCodes.
Ldc_I4
, (int)fieldDef.Constant) };
57
return new[] { Instruction.Create(OpCodes.
Ldc_I4
, (uint)fieldDef.Constant) };
71
return new[] { Instruction.Create(OpCodes.
Ldc_I4
, (uint)fieldDef.Constant) };
73
return new[] { Instruction.Create(OpCodes.
Ldc_I4
, (int)fieldDef.Constant) };
CreateObjectVisitor.cs (16)
402
yield return Create(
Ldc_I4
, (int)outsbyte);
404
yield return Create(
Ldc_I4
, 0x00);
408
yield return Create(
Ldc_I4
, outshort);
410
yield return Create(
Ldc_I4
, 0x00);
414
yield return Create(
Ldc_I4
, outint);
416
yield return Create(
Ldc_I4
, 0x00);
426
yield return Create(
Ldc_I4
, (int)outbyte);
428
yield return Create(
Ldc_I4
, 0x00);
432
yield return Create(
Ldc_I4
, outushort);
434
yield return Create(
Ldc_I4
, 0x00);
438
yield return Create(
Ldc_I4
, outuint);
440
yield return Create(
Ldc_I4
, 0x00);
466
yield return Create(
Ldc_I4
, outchar);
468
yield return Create(
Ldc_I4
, 0x00);
484
yield return Create(
Ldc_I4
, 0x6f); //NumberStyles.Number
553
yield return Create(
Ldc_I4
, (int)UriKind.RelativeOrAbsolute);
MethodBodyExtensions.cs (1)
39
ExpandMacro(instruction, OpCodes.
Ldc_I4
, unchecked((int)l));
NodeILExtensions.cs (23)
235
yield return Instruction.Create(OpCodes.
Ldc_I4
, unchecked((int)TryFormat(Char.Parse, node, str)));
237
yield return Instruction.Create(OpCodes.
Ldc_I4
, unchecked((int)TryFormat(s => SByte.Parse(s, CultureInfo.InvariantCulture), node, str)));
239
yield return Instruction.Create(OpCodes.
Ldc_I4
, unchecked((int)TryFormat(s => Int16.Parse(s, CultureInfo.InvariantCulture), node, str)));
241
yield return Instruction.Create(OpCodes.
Ldc_I4
, TryFormat(s => Int32.Parse(s, CultureInfo.InvariantCulture), node, str));
245
yield return Instruction.Create(OpCodes.
Ldc_I4
, unchecked((int)TryFormat(s => Byte.Parse(s, CultureInfo.InvariantCulture), node, str)));
247
yield return Instruction.Create(OpCodes.
Ldc_I4
, unchecked((int)TryFormat(s => UInt16.Parse(s, CultureInfo.InvariantCulture), node, str)));
249
yield return Instruction.Create(OpCodes.
Ldc_I4
, unchecked((int)TryFormat(s => UInt32.Parse(s, CultureInfo.InvariantCulture), node, str)));
298
yield return Create(
Ldc_I4
, 0x6f); //NumberStyles.Number
414
return Instruction.Create(OpCodes.
Ldc_I4
, (int)b);
416
return Instruction.Create(OpCodes.
Ldc_I4
, (int)sb);
418
return Instruction.Create(OpCodes.
Ldc_I4
, (int)s);
420
return Instruction.Create(OpCodes.
Ldc_I4
, (int)us);
422
return Instruction.Create(OpCodes.
Ldc_I4
, (int)i);
424
return Instruction.Create(OpCodes.
Ldc_I4
, (uint)ui);
426
return Instruction.Create(OpCodes.
Ldc_I4
, (long)l);
428
return Instruction.Create(OpCodes.
Ldc_I4
, (ulong)ul);
451
yield return Create(
Ldc_I4
, xmlLineInfo.LineNumber);
452
yield return Create(
Ldc_I4
, xmlLineInfo.LinePosition);
510
yield return Instruction.Create(OpCodes.
Ldc_I4
, nodes.Count);
524
yield return Create(
Ldc_I4
, nodes.Count); //destinationIndex
546
yield return Instruction.Create(OpCodes.
Ldc_I4
, i);
591
yield return Instruction.Create(OpCodes.
Ldc_I4
, scopes.Count);
598
yield return Instruction.Create(OpCodes.
Ldc_I4
, i);
SetPropertiesVisitor.cs (5)
793
yield return Create(
Ldc_I4
, index);
800
yield return Create(
Ldc_I4
, index);
1008
il.Emit(
Ldc_I4
, index);
1154
yield return Create(
Ldc_I4
, handlers.Count);
1160
yield return Create(
Ldc_I4
, i);
Mono.Cecil.Rocks (12)
Mono.Cecil.Rocks\MethodBodyRocks.cs (12)
87
ExpandMacro (instruction, OpCodes.
Ldc_I4
, -1);
90
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 0);
93
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 1);
96
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 2);
99
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 3);
102
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 4);
105
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 5);
108
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 6);
111
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 7);
114
ExpandMacro (instruction, OpCodes.
Ldc_I4
, 8);
117
ExpandMacro (instruction, OpCodes.
Ldc_I4
, (int) (sbyte) instruction.Operand);
195
ExpandMacro (instruction, OpCodes.
Ldc_I4
, (int) l);