27 writes to attributes
Mono.Cecil (27)
Mono.Cecil\TypeDefinition.cs (27)
46 attributes = (uint) value; 307 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NotPublic, value); } 312 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.Public, value); } 317 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedPublic, value); } 322 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedPrivate, value); } 327 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamily, value); } 332 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedAssembly, value); } 337 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamANDAssem, value); } 342 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamORAssem, value); } 347 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.AutoLayout, value); } 352 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.SequentialLayout, value); } 357 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.ExplicitLayout, value); } 362 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.ClassSemanticMask, (uint) TypeAttributes.Class, value); } 367 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.ClassSemanticMask, (uint) TypeAttributes.Interface, value); } 372 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Abstract, value); } 377 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Sealed, value); } 382 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.SpecialName, value); } 387 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Import, value); } 392 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Serializable, value); } 397 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.WindowsRuntime, value); } 402 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.AnsiClass, value); } 407 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.UnicodeClass, value); } 412 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.AutoClass, value); } 417 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.BeforeFieldInit, value); } 422 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.RTSpecialName, value); } 427 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.HasSecurity, value); } 482 this.attributes = (uint) attributes;
52 references to attributes
Mono.Cecil (52)
Mono.Cecil\TypeDefinition.cs (52)
41 get { return (TypeAttributes) attributes; } 43 if (IsWindowsRuntimeProjection && (ushort) value != attributes) 306 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NotPublic); } 307 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NotPublic, value); } 311 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.Public); } 312 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.Public, value); } 316 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedPublic); } 317 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedPublic, value); } 321 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedPrivate); } 322 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedPrivate, value); } 326 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamily); } 327 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamily, value); } 331 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedAssembly); } 332 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedAssembly, value); } 336 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamANDAssem); } 337 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamANDAssem, value); } 341 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamORAssem); } 342 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.VisibilityMask, (uint) TypeAttributes.NestedFamORAssem, value); } 346 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.AutoLayout); } 347 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.AutoLayout, value); } 351 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.SequentialLayout); } 352 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.SequentialLayout, value); } 356 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.ExplicitLayout); } 357 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.LayoutMask, (uint) TypeAttributes.ExplicitLayout, value); } 361 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.ClassSemanticMask, (uint) TypeAttributes.Class); } 362 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.ClassSemanticMask, (uint) TypeAttributes.Class, value); } 366 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.ClassSemanticMask, (uint) TypeAttributes.Interface); } 367 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.ClassSemanticMask, (uint) TypeAttributes.Interface, value); } 371 get { return attributes.GetAttributes ((uint) TypeAttributes.Abstract); } 372 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Abstract, value); } 376 get { return attributes.GetAttributes ((uint) TypeAttributes.Sealed); } 377 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Sealed, value); } 381 get { return attributes.GetAttributes ((uint) TypeAttributes.SpecialName); } 382 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.SpecialName, value); } 386 get { return attributes.GetAttributes ((uint) TypeAttributes.Import); } 387 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Import, value); } 391 get { return attributes.GetAttributes ((uint) TypeAttributes.Serializable); } 392 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.Serializable, value); } 396 get { return attributes.GetAttributes ((uint) TypeAttributes.WindowsRuntime); } 397 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.WindowsRuntime, value); } 401 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.AnsiClass); } 402 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.AnsiClass, value); } 406 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.UnicodeClass); } 407 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.UnicodeClass, value); } 411 get { return attributes.GetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.AutoClass); } 412 set { attributes = attributes.SetMaskedAttributes ((uint) TypeAttributes.StringFormatMask, (uint) TypeAttributes.AutoClass, value); } 416 get { return attributes.GetAttributes ((uint) TypeAttributes.BeforeFieldInit); } 417 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.BeforeFieldInit, value); } 421 get { return attributes.GetAttributes ((uint) TypeAttributes.RTSpecialName); } 422 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.RTSpecialName, value); } 426 get { return attributes.GetAttributes ((uint) TypeAttributes.HasSecurity); } 427 set { attributes = attributes.SetAttributes ((uint) TypeAttributes.HasSecurity, value); }