28 references to DeclaringType
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1371
Type currentType = eventProperty.
DeclaringType
.UnderlyingType;
1381
eventProperty.
DeclaringType
.UnderlyingType);
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
49
property.
DeclaringType
.UnderlyingType == typeof(System.Windows.ResourceDictionary) &&
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (2)
243
declaringType = xamlMember.
DeclaringType
;
284
return xamlMember.
DeclaringType
;
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
139
result = new WpfXamlMember(DependencyProperty, underlyingProperty,
DeclaringType
.SchemaContext, _useV3Rules);
310
WpfXamlType wpfXType =
DeclaringType
as WpfXamlType;
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
156
if (member != null && (wpfKnownType = member.
DeclaringType
as WpfKnownType) != null)
System.Xaml (20)
System\Xaml\Context\ObjectWriterContext.cs (2)
308
throw new ArgumentException(SR.Format(SR.NotAmbientProperty, xamlMember.
DeclaringType
.Name, xamlMember.Name), nameof(properties));
351
if (frame.XamlType is not null && frame.XamlType.CanAssignTo(prop.
DeclaringType
))
System\Xaml\InfosetObjects\XamlObjectWriter.cs (2)
1323
declaringType = property.
DeclaringType
;
1659
declaringType = parentProperty.
DeclaringType
;
System\Xaml\Parser\XamlScanner.cs (1)
795
attrProperty.
DeclaringType
.Name == "Glyphs");
System\Xaml\XamlMarkupExtensionWriter.cs (1)
414
string local = $"{property.
DeclaringType
.Name}.{property.Name}";
System\Xaml\XamlMember.cs (5)
333
return
DeclaringType
.GetXamlNamespaces();
990
Debug.Assert(
DeclaringType
is not null, "XamlDirective should not call into base.GetHashCode");
991
return (Name is null ? 0 : Name.GetHashCode()) ^ (int)_memberType ^
DeclaringType
.GetHashCode();
1023
return xamlMember1.
DeclaringType
== xamlMember2.
DeclaringType
&&
System\Xaml\XamlObjectReader.cs (5)
640
XamlType declaringType = xamlProperty.
DeclaringType
;
2130
throw new XamlObjectReaderException(SR.Format(SR.ObjectReaderXamlNamePropertyMustBeString, property.Name, property.
DeclaringType
));
3220
if (member.
DeclaringType
.UnderlyingType == baseDeclaringType)
3225
XamlType baseType = member.
DeclaringType
.BaseType;
3245
baseType = baseMember.
DeclaringType
.BaseType;
System\Xaml\XamlXmlWriter.cs (4)
811
XamlType xamlType = property.IsAttachable ? property.
DeclaringType
: type;
841
if (property.
DeclaringType
== owningType)
847
local = $"{GetTypeName(property.
DeclaringType
)}.{property.Name}";
1240
if (frame.Member.
DeclaringType
== XamlLanguage.XData)