13 writes to _attributes
System.Reflection.Emit (13)
System\Reflection\Emit\TypeBuilderImpl.cs (13)
59_attributes = typeAttributes; 481_attributes |= TypeAttributes.SpecialName; 485_attributes |= TypeAttributes.Serializable; 489_attributes |= TypeAttributes.Import; 492_attributes |= TypeAttributes.WindowsRuntime; 495_attributes |= TypeAttributes.HasSecurity; 512_attributes &= ~TypeAttributes.LayoutMask; 513_attributes |= layoutKind switch 533_attributes &= ~(TypeAttributes.UnicodeClass | TypeAttributes.AutoClass); 536_attributes &= ~TypeAttributes.AutoClass; 537_attributes |= TypeAttributes.UnicodeClass; 540_attributes &= ~TypeAttributes.UnicodeClass; 541_attributes |= TypeAttributes.AutoClass;
9 references to _attributes
System.Reflection.Emit (9)
System\Reflection\Emit\TypeBuilderImpl.cs (9)
115if (_constructorDefinitions.Count == 0 && (_attributes & TypeAttributes.Interface) == 0 && !IsValueType && 116((_attributes & (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed))) 145if ((_attributes & TypeAttributes.Abstract) == 0) 174if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static) 200if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface) 388if ((_attributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface) 574if ((_attributes & TypeAttributes.Interface) != TypeAttributes.Interface) 580if ((_attributes & TypeAttributes.Abstract) == 0) 652protected override TypeAttributes GetAttributeFlagsImpl() => _attributes;