32 references to Create
Microsoft.Maui.Controls.Build.Tasks (31)
CompiledConverters\ColumnDefinitionCollectionTypeConverter.cs (1)
23 yield return Create(Newarr, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "ColumnDefinition")));
CompiledConverters\FontSizeTypeConverter.cs (1)
41 yield return Instruction.Create(OpCodes.Ldtoken, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "Label")));
CompiledConverters\RDSourceTypeConverter.cs (1)
144 yield return Create(Ldtoken, currentModule.ImportReference(rootNode.TypeReference));
CompiledConverters\RowDefinitionCollectionTypeConverter.cs (1)
23 yield return Create(Newarr, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "RowDefinition")));
CompiledConverters\StrokeShapeTypeConverter.cs (2)
221 yield return Instruction.Create(OpCodes.Newarr, pointType); 235 yield return Instruction.Create(OpCodes.Stelem_Any, pointType);
CompiledConverters\TypeTypeConverter.cs (1)
35 yield return Create(Ldtoken, module.ImportReference(typeRef));
CompiledMarkupExtensions\ArrayExtension.cs (3)
25 yield return Instruction.Create(OpCodes.Newarr, typeTypeRef); 44 yield return Instruction.Create(OpCodes.Ldelema, typeTypeRef); 47 yield return Instruction.Create(OpCodes.Stobj, typeTypeRef);
CompiledMarkupExtensions\DataTemplateExtension.cs (1)
30 Create(Ldtoken, module.ImportReference(contentTypeRef)),
CompiledMarkupExtensions\TypeExtension.cs (1)
36 Create(Ldtoken, module.ImportReference(typeref)),
CompiledValueProviders\StyleSheetProvider.cs (1)
65 yield return Create(Ldtoken, module.ImportReference(((ILRootNode)rootNode).TypeReference));
NodeILExtensions.cs (12)
181 yield return Instruction.Create(OpCodes.Box, module.ImportReference(targetTypeRef)); 212 yield return Instruction.Create(OpCodes.Unbox_Any, module.ImportReference(targetTypeRef)); 331 yield return Create(Box, module.ImportReference(originalTypeRef)); 512 yield return Instruction.Create(OpCodes.Newarr, module.TypeSystem.Object); 563 yield return Create(Ldtoken, module.ImportReference(declaringTypeReference ?? propertyRef.DeclaringType)); 592 yield return Instruction.Create(OpCodes.Newarr, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "NameScope"))); 635 yield return Create(Ldtoken, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Xaml", "IProvideValueTarget"))); 659 yield return Create(Ldtoken, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Xaml", "IReferenceProvider"))); 670 yield return Create(Ldtoken, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Xaml", "IProvideValueTarget"))); 697 yield return Create(Ldtoken, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Xaml", "IXamlTypeResolver"))); 712 yield return Create(Ldtoken, context.Body.Method.DeclaringType); 722 yield return Create(Ldtoken, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Xaml", "IXmlLineInfoProvider")));
SetPropertiesVisitor.cs (4)
281 yield return Instruction.Create(OpCodes.Castclass, module.ImportReference(arrayTypeRef.MakeArrayType())); 1155 yield return Create(Newarr, tupleRef); 1492 yield return Create(Ldtoken, module.ImportReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindingBase"))); 1508 yield return Create(Box, module.ImportReference(bpTypeRef));
VariableDefinitionExtensions.cs (2)
18 yield return Instruction.Create(OpCodes.Box, module.ImportReference(self.VariableType)); 20 yield return Instruction.Create(OpCodes.Unbox_Any, module.ImportReference(type));
Mono.Cecil (1)
Mono.Cecil.Cil\ILProcessor.cs (1)
39 return Instruction.Create (opcode, type);