118 references to Create
illink (24)
Linker.Steps\AddBypassNGenStep.cs (2)
107
instructions.Add(Instruction.
Create
(OpCodes.Ldarg_0));
109
instructions.Add(Instruction.
Create
(OpCodes.Ret));
Linker.Steps\CodeRewriterStep.cs (5)
211
return Instruction.
Create
(OpCodes.Ldc_I4_1);
213
return Instruction.
Create
(OpCodes.Ldc_I4_0);
219
return Instruction.
Create
(OpCodes.Ldnull);
225
return Instruction.
Create
(OpCodes.Ldnull);
252
return Instruction.
Create
(OpCodes.Ldc_I4_0);
Linker.Steps\MarkStep.cs (2)
520
ilProcessor.InsertAfter(instr, Instruction.
Create
(OpCodes.Ldnull));
521
Instruction new_instr = Instruction.
Create
(OpCodes.Pop);
Linker.Steps\UnreachableBlocksOptimizer.cs (15)
538
var nop = Instruction.
Create
(OpCodes.Nop);
564
var nop = Instruction.
Create
(OpCodes.Nop);
863
Rewrite(index, Instruction.
Create
(OpCodes.Nop));
1002
processor.Replace(index, Instruction.
Create
(OpCodes.Ldnull));
1003
processor.InsertAfter(Instructions[index], Instruction.
Create
(OpCodes.Throw));
1151
Rewrite(i, Instruction.
Create
(OpCodes.Ldc_I4_1));
1155
Rewrite(i, Instruction.
Create
(OpCodes.Ldc_I4_0));
1172
Rewrite(i, Instruction.
Create
(OpCodes.Ldc_I4_0));
1481
newInstr = Instruction.
Create
(OpCodes.Ret);
1485
newInstr = Instruction.
Create
(OpCodes.Nop);
1528
var nop = Instruction.
Create
(OpCodes.Nop);
1533
ILProcessor.Replace(index - 1, Instruction.
Create
(OpCodes.Pop));
1538
var pop = Instruction.
Create
(OpCodes.Pop);
1540
ILProcessor.InsertAfter(pop, Instruction.
Create
(OpCodes.Pop));
1550
ILProcessor.Replace(index, Instruction.
Create
(OpCodes.Pop));
Microsoft.Maui.Controls.Build.Tasks (92)
CompiledConverters\BindablePropertyConverter.cs (1)
21
yield return Instruction.
Create
(OpCodes.Ldnull);
CompiledConverters\ColorTypeConverter.cs (1)
48
yield return Instruction.
Create
(OpCodes.Ldnull);
CompiledConverters\ColumnDefinitionCollectionTypeConverter.cs (2)
26
yield return
Create
(Dup);
33
yield return
Create
(Stelem_Ref);
CompiledConverters\EasingTypeConverter.cs (1)
16
yield return
Create
(Ldnull);
CompiledConverters\FlexBasisTypeConverter.cs (2)
31
yield return Instruction.
Create
(OpCodes.Ldc_I4_1); //isRelative: true
40
yield return Instruction.
Create
(OpCodes.Ldc_I4_0); //isRelative: false
CompiledConverters\ICompiledTypeConverter.cs (1)
25
yield return Instruction.
Create
(OpCodes.Ldc_I4_1);
CompiledConverters\ImageSourceTypeConverter.cs (1)
21
yield return Instruction.
Create
(OpCodes.Ldc_I4_1); // (int)UriKind.Absolute is 1
CompiledConverters\ListStringTypeConverter.cs (2)
20
yield return
Create
(Ldnull);
31
yield return
Create
(Dup);
CompiledConverters\RowDefinitionCollectionTypeConverter.cs (2)
26
yield return
Create
(Dup);
34
yield return
Create
(Stelem_Ref);
CompiledConverters\StrokeShapeTypeConverter.cs (4)
93
yield return Instruction.
Create
(OpCodes.Dup);
174
yield return Instruction.
Create
(OpCodes.Dup);
197
yield return Instruction.
Create
(OpCodes.Dup);
226
yield return Instruction.
Create
(OpCodes.Dup);
CompiledConverters\UriTypeConverter.cs (2)
18
yield return
Create
(Ldnull);
23
yield return
Create
(Ldc_I4_0); //UriKind.RelativeOrAbsolute
CompiledMarkupExtensions\ArrayExtension.cs (3)
42
yield return Instruction.
Create
(OpCodes.Dup);
51
yield return Instruction.
Create
(OpCodes.Dup);
55
yield return Instruction.
Create
(OpCodes.Stelem_Ref);
CompiledMarkupExtensions\NullExtension.cs (1)
15
return new[] { Instruction.
Create
(OpCodes.Ldnull) };
CompiledMarkupExtensions\StaticExtension.cs (2)
43
return new[] { Instruction.
Create
(((bool)fieldDef.Constant) ? OpCodes.Ldc_I4_1 : OpCodes.Ldc_I4_0) };
47
return new[] { Instruction.
Create
(OpCodes.Ldnull) };
CompiledMarkupExtensions\StaticResourceExtension.cs (1)
164
yield return
Create
(Dup);
CreateObjectVisitor.cs (8)
450
yield return
Create
(outbool ? Ldc_I4_1 : Ldc_I4_0);
452
yield return
Create
(Ldc_I4_0);
498
yield return
Create
(Pop);
503
yield return
Create
(Ldc_I4_0);
537
yield return
Create
(Pop);
563
yield return
Create
(Pop);
567
yield return
Create
(Ldnull);
576
yield return
Create
(Ldnull);
DebugXamlCTask.cs (2)
118
var br2 = Instruction.
Create
(OpCodes.Ldarg_0);
119
var ret = Instruction.
Create
(OpCodes.Ret);
MethodBodyExtensions.cs (1)
40
self.Instructions.Insert(++i, Instruction.
Create
(OpCodes.Conv_I8));
NodeILExtensions.cs (29)
259
yield return Instruction.
Create
(OpCodes.Ldc_I4_1);
261
yield return Instruction.
Create
(OpCodes.Ldc_I4_0);
311
yield return
Create
(Pop);
316
yield return
Create
(Ldc_I4_0);
326
yield return
Create
(Ldnull);
445
yield return
Create
(Ldnull);
483
yield return Instruction.
Create
(OpCodes.Ldnull);
489
yield return Instruction.
Create
(OpCodes.Ldarg_0);
497
yield return Instruction.
Create
(OpCodes.Ldarg_0);
499
yield return Instruction.
Create
(OpCodes.Ldlen);
500
yield return Instruction.
Create
(OpCodes.Conv_I4);
503
yield return Instruction.
Create
(OpCodes.Ldc_I4_0);
511
yield return Instruction.
Create
(OpCodes.Add);
520
yield return
Create
(Ldarg_0);
522
yield return
Create
(Ldc_I4_0); //sourceIndex
545
yield return Instruction.
Create
(OpCodes.Dup);
549
yield return Instruction.
Create
(OpCodes.Stelem_Ref);
575
yield return
Create
(Ldnull);
597
yield return Instruction.
Create
(OpCodes.Dup);
600
yield return Instruction.
Create
(OpCodes.Stelem_Ref);
634
yield return
Create
(Dup); //Keep the serviceProvider on the stack
647
yield return
Create
(Ldc_I4_0); //don't ask
652
yield return
Create
(Dup);
658
yield return
Create
(Dup); //Keep the serviceProvider on the stack
669
yield return
Create
(Dup); //Keep the serviceProvider on the stack
683
yield return
Create
(Ldnull);
696
yield return
Create
(Dup); //Duplicate the serviceProvider
702
yield return
Create
(Dup); //dup the resolver
721
yield return
Create
(Dup); //Duplicate the serviceProvider
SetNamescopesAndRegisterNamesVisitor.cs (1)
181
var nop = Instruction.
Create
(OpCodes.Nop);
SetPropertiesVisitor.cs (25)
277
yield return Instruction.
Create
(OpCodes.Ldnull); //ArrayExtension does not require ServiceProvider
401
yield return
Create
(Ldnull);
441
yield return
Create
(Ldnull);
482
yield return
Create
(Ldnull);
630
yield return
Create
(Ldnull);
637
yield return
Create
(Ldnull);
786
yield return
Create
(Dup);
807
yield return
Create
(Ldelem_Ref);
878
pop =
Create
(Pop);
910
yield return
Create
(Ldnull);
919
yield return
Create
(Ldnull);
952
yield return
Create
(Ldnull); //throw or not ?
968
pop = Instruction.
Create
(Pop);
993
pop = Instruction.
Create
(Pop);
1032
yield return
Create
(Ldnull);
1060
yield return
Create
(Ldnull);
1159
yield return
Create
(Dup);
1161
yield return
Create
(Ldnull);
1166
yield return
Create
(Stelem_Ref);
1309
yield return
Create
(Ldnull);
1318
yield return
Create
(Ldarg_0);
1327
yield return
Create
(Ldarg_0);
1483
var @else =
Create
(OpCodes.Nop);
1484
var endif =
Create
(OpCodes.Nop);
1765
yield return Instruction.
Create
(OpCodes.Pop);
Mono.Cecil (1)
Mono.Cecil.Cil\ILProcessor.cs (1)
34
return Instruction.
Create
(opcode);
Mono.Cecil.Rocks (1)
Mono.Cecil.Rocks\MethodBodyRocks.cs (1)
196
self.Instructions.Insert (++i, Instruction.
Create
(OpCodes.Conv_I8));