73 references to Callvirt
Microsoft.Maui.Controls.Build.Tasks (73)
CompiledConverters\FontSizeTypeConverter.cs (1)
34 yield return Instruction.Create(OpCodes.Callvirt, module.ImportMethodReference(
CompiledConverters\ListStringTypeConverter.cs (1)
33 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("mscorlib", "System.Collections.Generic", "ICollection`1"),
CompiledConverters\RDSourceTypeConverter.cs (2)
118 yield return Create(Callvirt, currentModule.ImportReference(genericInstanceMethod)); 146 yield return Create(Callvirt, currentModule.ImportPropertyGetterReference(context.Cache, ("mscorlib", "System", "Type"), propertyName: "Assembly", flatten: true));
CompiledMarkupExtensions\StaticResourceExtension.cs (2)
166 yield return Create(Callvirt, module.ImportReference(keyProperty.SetMethod)); 188 yield return Create(Callvirt, module.ImportMethodReference(context.Cache,
CompiledValueProviders\SetterValueProvider.cs (1)
46 yield return Instruction.Create(OpCodes.Callvirt, module.ImportPropertySetterReference(context.Cache, setterType, propertyName: "Value"));
CompiledValueProviders\StyleSheetProvider.cs (1)
67 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, ("mscorlib", "System", "Type"), propertyName: "Assembly", flatten: true)); //assembly
DebugXamlCTask.cs (3)
133 il.Emit(OpCodes.Callvirt, baseCtor); 140 il.Emit(OpCodes.Callvirt, initComp); 144 il.Emit(OpCodes.Callvirt, initCompRuntime);
NodeILExtensions.cs (8)
209 yield return Instruction.Create(OpCodes.Callvirt, convertFromInvariantStringReference); 656 yield return Create(Callvirt, addService); 662 yield return Create(Callvirt, addService); 690 yield return Create(Callvirt, addService); 705 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("Microsoft.Maui.Controls.Xaml", "Microsoft.Maui.Controls.Xaml.Internals", "XmlNamespaceResolver"), 714 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, ("mscorlib", "System", "Type"), propertyName: "Assembly", flatten: true)); 716 yield return Create(Callvirt, addService); 727 yield return Create(Callvirt, addService);
SetNamescopesAndRegisterNamesVisitor.cs (3)
163 Context.IL.Emit(OpCodes.Callvirt, module.ImportMethodReference(Context.Cache, 183 Context.IL.Emit(OpCodes.Callvirt, module.ImportPropertyGetterReference(Context.Cache, elementType, propertyName: "StyleId")); 187 Context.IL.Emit(OpCodes.Callvirt, module.ImportPropertySetterReference(Context.Cache, elementType, propertyName: "StyleId"));
SetPropertiesVisitor.cs (51)
164 Context.IL.Emit(Callvirt, adderRef); 204 Context.IL.Emit(OpCodes.Callvirt, adderRef); 278 yield return Instruction.Create(OpCodes.Callvirt, provideValue); 318 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 320 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "Mode")); 321 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindingBase"), propertyName: "Mode")); 324 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 326 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "Converter")); 327 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "TypedBindingBase"), propertyName: "Converter")); 330 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 332 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "ConverterParameter")); 333 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "TypedBindingBase"), propertyName: "ConverterParameter")); 336 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 338 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "StringFormat")); 339 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindingBase"), propertyName: "StringFormat")); 345 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 347 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "Source")); 348 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "TypedBindingBase"), propertyName: "Source")); 351 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 353 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "UpdateSourceEventName")); 354 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "TypedBindingBase"), propertyName: "UpdateSourceEventName")); 357 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 359 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "FallbackValue")); 360 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindingBase"), propertyName: "FallbackValue")); 363 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 365 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TargetNullValue")); 366 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindingBase"), propertyName: "TargetNullValue")); 372 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 374 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "TypedBindingBase"), propertyName: "Source")); 379 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, bindingExtensionType.Value, propertyName: "TypedBinding")); 405 yield return Create(Callvirt, provideValue); 445 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, 486 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, 639 yield return Create(Callvirt, module.ImportPropertySetterReference(context.Cache, bindingExtensionType, propertyName: "TypedBinding")); 813 yield return Create(Callvirt, getMethod); 1015 il.Emit(Callvirt, setterRef); 1335 yield return Create(Callvirt, module.ImportReference(adder)); 1363 yield return Create(Callvirt, module.ImportPropertyGetterReference(context.Cache, dynamicResourceType, propertyName: "Key")); 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"), 1495 yield return Create(Callvirt, module.ImportMethodReference(context.Cache, ("mscorlib", "System", "Object"), methodName: "GetType", paramCount: 0)); 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, 1641 yield return Instruction.Create(OpCodes.Callvirt, propertySetterRef); 1650 yield return Instruction.Create(OpCodes.Callvirt, propertySetterRef); 1673 Create(Callvirt, propertyGetterRef), 1763 yield return Instruction.Create(OpCodes.Callvirt, adderRef); 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"), 1936 parentContext.IL.Emit(OpCodes.Callvirt, module.ImportPropertySetterReference(parentContext.Cache, dataTemplateType, propertyName: "LoadTemplate"));