6 writes to _declaringType
System.Xaml (6)
System\Xaml\XamlMember.cs (6)
40_declaringType = declaringType ?? throw new ArgumentNullException(nameof(declaringType)); 60_declaringType = schemaContext.GetXamlType(propertyInfo.DeclaringType); 83_declaringType = schemaContext.GetXamlType(eventInfo.DeclaringType); 117_declaringType = schemaContext.GetXamlType(accessor.DeclaringType); 144_declaringType = schemaContext.GetXamlType(adder.DeclaringType); 155_declaringType = null;
11 references to _declaringType
System.Xaml (11)
System\Xaml\XamlMember.cs (11)
160public XamlType DeclaringType { get { return _declaringType; } } 186get { return IsReadPublicIgnoringType && (_declaringType == null || _declaringType.IsPublic); } 191get { return IsWritePublicIgnoringType && (_declaringType == null || _declaringType.IsPublic); } 227return _declaringType; 341Debug.Assert(_declaringType != null, "XamlDirective should not call base.ToString"); 342return $"{_declaringType}.{Name}"; 558XamlMember member = _declaringType.GetMember(name); 662return _declaringType; 848private XamlSchemaContext SchemaContext { get { return _declaringType.SchemaContext; } }