13 writes to _attributes
System.Reflection.Emit (13)
System\Reflection\Emit\TypeBuilderImpl.cs (13)
59
_attributes
= typeAttributes;
471
_attributes
|= TypeAttributes.SpecialName;
475
_attributes
|= TypeAttributes.Serializable;
479
_attributes
|= TypeAttributes.Import;
482
_attributes
|= TypeAttributes.WindowsRuntime;
485
_attributes
|= TypeAttributes.HasSecurity;
502
_attributes
&= ~TypeAttributes.LayoutMask;
503
_attributes
|= layoutKind switch
524
_attributes
&= ~(TypeAttributes.UnicodeClass | TypeAttributes.AutoClass);
527
_attributes
&= ~TypeAttributes.AutoClass;
528
_attributes
|= TypeAttributes.UnicodeClass;
531
_attributes
&= ~TypeAttributes.UnicodeClass;
532
_attributes
|= TypeAttributes.AutoClass;
9 references to _attributes
System.Reflection.Emit (9)
System\Reflection\Emit\TypeBuilderImpl.cs (9)
115
if (_constructorDefinitions.Count == 0 && (
_attributes
& TypeAttributes.Interface) == 0 && !IsValueType &&
116
((
_attributes
& (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed)))
137
if ((
_attributes
& TypeAttributes.Abstract) == 0)
163
if ((
_attributes
& TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static)
189
if ((
_attributes
& TypeAttributes.Interface) == TypeAttributes.Interface)
377
if ((
_attributes
& TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface)
565
if ((
_attributes
& TypeAttributes.Interface) != TypeAttributes.Interface)
571
if ((
_attributes
& TypeAttributes.Abstract) == 0)
644
protected override TypeAttributes GetAttributeFlagsImpl() =>
_attributes
;