6 writes to _declaringType
System.Xaml (6)
System\Xaml\XamlMember.cs (6)
37_declaringType = declaringType ?? throw new ArgumentNullException(nameof(declaringType)); 57_declaringType = schemaContext.GetXamlType(propertyInfo.DeclaringType); 80_declaringType = schemaContext.GetXamlType(eventInfo.DeclaringType); 115_declaringType = schemaContext.GetXamlType(accessor.DeclaringType); 142_declaringType = schemaContext.GetXamlType(adder.DeclaringType); 153_declaringType = null;
11 references to _declaringType
System.Xaml (11)
System\Xaml\XamlMember.cs (11)
158public XamlType DeclaringType { get { return _declaringType; } } 185get { return IsReadPublicIgnoringType && (_declaringType is null || _declaringType.IsPublic); } 190get { return IsWritePublicIgnoringType && (_declaringType is null || _declaringType.IsPublic); } 228return _declaringType; 350Debug.Assert(_declaringType is not null, "XamlDirective should not call base.ToString"); 351return $"{_declaringType}.{Name}"; 581XamlMember member = _declaringType.GetMember(name); 695return _declaringType; 892private XamlSchemaContext SchemaContext { get { return _declaringType.SchemaContext; } }