61 references to Create
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 (56)
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 (3)
49
return new[] { Instruction.
Create
(OpCodes.Ldc_I4, (char)fieldDef.Constant) };
55
return new[] { Instruction.
Create
(OpCodes.Ldc_I4, (int)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);
NodeILExtensions.cs (20)
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);
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 (4)
793
yield return
Create
(Ldc_I4, index);
800
yield return
Create
(Ldc_I4, index);
1154
yield return
Create
(Ldc_I4, handlers.Count);
1160
yield return
Create
(Ldc_I4, i);
Mono.Cecil (1)
Mono.Cecil.Cil\ILProcessor.cs (1)
86
return Instruction.
Create
(opcode, value);