45 references to ImportMethodReference
Microsoft.Maui.Controls.Build.Tasks (45)
CompiledConverters\ConstraintTypeConverter.cs (1)
23 yield return Create(Call, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Compatibility", "Constraint"),
CompiledConverters\FontSizeTypeConverter.cs (2)
42 yield return Instruction.Create(OpCodes.Call, module.ImportMethodReference( 49 yield return Instruction.Create(OpCodes.Call, module.ImportMethodReference(
CompiledConverters\ImageSourceTypeConverter.cs (2)
25 yield return Instruction.Create(OpCodes.Call, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "ImageSource"), "FromUri", parameterTypes: new[] { 31 yield return Instruction.Create(OpCodes.Call, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "ImageSource"), "FromFile", parameterTypes: new[] {
CompiledConverters\RDSourceTypeConverter.cs (4)
105 var method = module.ImportMethodReference( 140 yield return Create(Call, currentModule.ImportMethodReference(context.Cache, ("mscorlib", "System.Reflection", "Assembly"), methodName: "Load", parameterTypes: new[] { ("mscorlib", "System", "String") }, isStatic: true)); 145 yield return Create(Call, currentModule.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 152 yield return Create(Call, currentModule.ImportMethodReference(
CompiledConverters\StrokeShapeTypeConverter.cs (1)
96 yield return Instruction.Create(OpCodes.Call, module.ImportMethodReference(context.Cache, ("System", "System.ComponentModel", "TypeConverter"), "ConvertFromInvariantString", parameterTypes: new[] {
CompiledConverters\TypeTypeConverter.cs (1)
36 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"),
CompiledMarkupExtensions\DataTemplateExtension.cs (1)
31 Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)),
CompiledMarkupExtensions\StaticResourceExtension.cs (1)
188 yield return Create(Callvirt, module.ImportMethodReference(context.Cache,
CompiledMarkupExtensions\TypeExtension.cs (1)
37 Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"),
CompiledValueProviders\StyleSheetProvider.cs (3)
43 yield return Create(Call, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.StyleSheets", "StyleSheet"), 66 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 72 yield return Create(Call, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.StyleSheets", "StyleSheet"),
CreateObjectVisitor.cs (3)
489 yield return Create(Call, module.ImportMethodReference(Context.Cache, ("mscorlib", "System", "Decimal"), 529 yield return Create(Call, module.ImportMethodReference(Context.Cache, ("mscorlib", "System", "TimeSpan"), 555 yield return Create(Call, module.ImportMethodReference(Context.Cache, ("System", "System", "Uri"),
NodeILExtensions.cs (12)
302 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Decimal"), 526 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Array"), 564 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 566 yield return Create(Call, module.ImportMethodReference(context.Cache, ("System.Reflection.Extensions", "System.Reflection", "RuntimeReflectionExtensions"), 616 var addService = module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls.Xaml", "Microsoft.Maui.Controls.Xaml.Internals", "XamlServiceProvider"), 636 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 660 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 671 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 698 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 705 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls.Xaml", "Microsoft.Maui.Controls.Xaml.Internals", "XmlNamespaceResolver"), 713 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 723 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true));
SetNamescopesAndRegisterNamesVisitor.cs (3)
112 Context.IL.Emit(OpCodes.Call, module.ImportMethodReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "NameScope"), 146 Context.IL.Emit(OpCodes.Call, module.ImportMethodReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "NameScope"), 163 Context.IL.Emit(OpCodes.Callvirt, module.ImportMethodReference(Context.Cache,
SetPropertiesVisitor.cs (10)
445 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, 486 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, 1364 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, 1406 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindableObject"), 1493 yield return Create(Call, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "GetTypeFromHandle", parameterTypes: new[] { ("mscorlib", "System", "RuntimeTypeHandle") }, isStatic: true)); 1496 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Type"), methodName: "IsAssignableFrom", parameterTypes: new[] { ("mscorlib", "System", "Type") })); 1515 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, 1539 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, 1785 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "ResourceDictionary"), 1796 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "ResourceDictionary"),