28 references to DeclaringType
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1376
Type currentType = eventProperty.
DeclaringType
.UnderlyingType;
1386
eventProperty.
DeclaringType
.UnderlyingType);
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
57
property.
DeclaringType
.UnderlyingType == typeof(System.Windows.ResourceDictionary) &&
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (2)
256
declaringType = xamlMember.
DeclaringType
;
297
return xamlMember.
DeclaringType
;
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
142
result = new WpfXamlMember(DependencyProperty, underlyingProperty,
DeclaringType
.SchemaContext, _useV3Rules);
313
WpfXamlType wpfXType =
DeclaringType
as WpfXamlType;
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
159
if (member != null && (wpfKnownType = member.
DeclaringType
as WpfKnownType) != null)
System.Xaml (20)
System\Xaml\Context\ObjectWriterContext.cs (2)
311
throw new ArgumentException(SR.Format(SR.NotAmbientProperty, xamlMember.
DeclaringType
.Name, xamlMember.Name), nameof(properties));
354
if (frame.XamlType != null && frame.XamlType.CanAssignTo(prop.
DeclaringType
))
System\Xaml\InfosetObjects\XamlObjectWriter.cs (2)
1325
declaringType = property.
DeclaringType
;
1661
declaringType = parentProperty.
DeclaringType
;
System\Xaml\Parser\XamlScanner.cs (1)
798
attrProperty.
DeclaringType
.Name == "Glyphs");
System\Xaml\XamlMarkupExtensionWriter.cs (1)
415
string local = $"{property.
DeclaringType
.Name}.{property.Name}";
System\Xaml\XamlMember.cs (5)
336
return
DeclaringType
.GetXamlNamespaces();
993
Debug.Assert(
DeclaringType
!= null, "XamlDirective should not call into base.GetHashCode");
994
return (Name == null ? 0 : Name.GetHashCode()) ^ (int)_memberType ^
DeclaringType
.GetHashCode();
1026
return xamlMember1.
DeclaringType
== xamlMember2.
DeclaringType
&&
System\Xaml\XamlObjectReader.cs (5)
645
XamlType declaringType = xamlProperty.
DeclaringType
;
2135
throw new XamlObjectReaderException(SR.Format(SR.ObjectReaderXamlNamePropertyMustBeString, property.Name, property.
DeclaringType
));
3225
if (member.
DeclaringType
.UnderlyingType == baseDeclaringType)
3230
XamlType baseType = member.
DeclaringType
.BaseType;
3250
baseType = baseMember.
DeclaringType
.BaseType;
System\Xaml\XamlXmlWriter.cs (4)
813
XamlType xamlType = property.IsAttachable ? property.
DeclaringType
: type;
843
if (property.
DeclaringType
== owningType)
849
local = $"{GetTypeName(property.
DeclaringType
)}.{property.Name}";
1242
if (frame.Member.
DeclaringType
== XamlLanguage.XData)