1 write to DeclaringType
Microsoft.Maui.Controls (1)
BindableProperty.cs (1)
103 DeclaringType = declaringType;
28 references to DeclaringType
Microsoft.Maui.Controls (13)
BindablePropertyConverter.cs (1)
166 return $"{bp.DeclaringType.Name}.{bp.PropertyName}";
Interactivity\PropertyCondition.cs (4)
44 return Property.DeclaringType.GetRuntimeProperty(Property.PropertyName); 48 throw new XamlParseException($"Multiple properties with name '{Property.DeclaringType}.{Property.PropertyName}' found.", new XmlLineInfo(), innerException: e); 74 return Property.DeclaringType.GetRuntimeProperty(Property.PropertyName); 78 throw new XamlParseException($"Multiple properties with name '{Property.DeclaringType}.{Property.PropertyName}' found.", new XmlLineInfo(), innerException: e);
Setter.cs (4)
39 minfo = Property.DeclaringType.GetRuntimeProperty(Property.PropertyName); 43 throw new XamlParseException($"Multiple properties with name '{Property.DeclaringType}.{Property.PropertyName}' found.", serviceProvider, innerException: e); 49 return Property.DeclaringType.GetRuntimeMethod("Get" + Property.PropertyName, new[] { typeof(BindableObject) }); 53 throw new XamlParseException($"Multiple methods with name '{Property.DeclaringType}.Get{Property.PropertyName}' found.", serviceProvider, innerException: e);
StyleSheets\Style.cs (4)
105 minfo = property.DeclaringType.GetRuntimeProperty(property.PropertyName); 109 throw new XamlParseException($"Multiple properties with name '{property.DeclaringType}.{property.PropertyName}' found.", serviceProvider, innerException: e); 115 return property.DeclaringType.GetRuntimeMethod("Get" + property.PropertyName, new[] { typeof(BindableObject) }); 119 throw new XamlParseException($"Multiple methods with name '{property.DeclaringType}.Get{property.PropertyName}' found.", serviceProvider, innerException: e);
Microsoft.Maui.Controls.Xaml (15)
ApplyPropertiesVisitor.cs (3)
593 return property.DeclaringType.GetRuntimeMethod("Get" + property.PropertyName, new[] { typeof(BindableObject) }); 597 throw new XamlParseException($"Multiple methods with name '{property.DeclaringType}.Get{property.PropertyName}' found.", lineInfo, innerException: e); 601 minforetriever = () => property.DeclaringType.GetRuntimeProperties().FirstOrDefault(pi => pi.Name == property.PropertyName);
MarkupExtensions\AppThemeBindingExtension.cs (4)
85 minfo = bp.DeclaringType.GetRuntimeProperty(bp.PropertyName); 89 throw new XamlParseException($"Multiple properties with name '{bp.DeclaringType}.{bp.PropertyName}' found.", serviceProvider, innerException: e); 95 return bp.DeclaringType.GetRuntimeMethod("Get" + bp.PropertyName, new[] { typeof(BindableObject) }); 99 throw new XamlParseException($"Multiple methods with name '{bp.DeclaringType}.Get{bp.PropertyName}' found.", serviceProvider, innerException: e);
MarkupExtensions\OnIdiomExtension.cs (4)
80 minfo = bp.DeclaringType.GetRuntimeProperty(bp.PropertyName); 84 throw new XamlParseException($"Multiple properties with name '{bp.DeclaringType}.{bp.PropertyName}' found.", serviceProvider, innerException: e); 90 return bp.DeclaringType.GetRuntimeMethod("Get" + bp.PropertyName, new[] { typeof(BindableObject) }); 94 throw new XamlParseException($"Multiple methods with name '{bp.DeclaringType}.Get{bp.PropertyName}' found.", serviceProvider, innerException: e);
MarkupExtensions\OnPlatformExtension.cs (4)
102 minfo = bp.DeclaringType.GetRuntimeProperty(bp.PropertyName); 106 throw new XamlParseException($"Multiple properties with name '{bp.DeclaringType}.{bp.PropertyName}' found.", serviceProvider, innerException: e); 112 return bp.DeclaringType.GetRuntimeMethod("Get" + bp.PropertyName, new[] { typeof(BindableObject) }); 116 throw new XamlParseException($"Multiple methods with name '{bp.DeclaringType}.Get{bp.PropertyName}' found.", serviceProvider, innerException: e);