13 writes to _attributes
System.Reflection.Emit (13)
System\Reflection\Emit\TypeBuilderImpl.cs (13)
58_attributes = typeAttributes; 469_attributes |= TypeAttributes.SpecialName; 473_attributes |= TypeAttributes.Serializable; 477_attributes |= TypeAttributes.Import; 480_attributes |= TypeAttributes.WindowsRuntime; 483_attributes |= TypeAttributes.HasSecurity; 500_attributes &= ~TypeAttributes.LayoutMask; 501_attributes |= layoutKind switch 521_attributes &= ~(TypeAttributes.UnicodeClass | TypeAttributes.AutoClass); 524_attributes &= ~TypeAttributes.AutoClass; 525_attributes |= TypeAttributes.UnicodeClass; 528_attributes &= ~TypeAttributes.UnicodeClass; 529_attributes |= TypeAttributes.AutoClass;
9 references to _attributes
System.Reflection.Emit (9)
System\Reflection\Emit\TypeBuilderImpl.cs (9)
114if (_constructorDefinitions.Count == 0 && (_attributes & TypeAttributes.Interface) == 0 && !IsValueType && 115((_attributes & (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed))) 136if ((_attributes & TypeAttributes.Abstract) == 0) 162if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static) 188if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface) 376if ((_attributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface) 562if ((_attributes & TypeAttributes.Interface) != TypeAttributes.Interface) 568if ((_attributes & TypeAttributes.Abstract) == 0) 640protected override TypeAttributes GetAttributeFlagsImpl() => _attributes;