46 writes to Attributes
PresentationBuildTasks (14)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (13)
873Attributes = MemberAttributes.Public | MemberAttributes.Final, 1108Attributes = MemberAttributes.Public | MemberAttributes.Final, 2030cmmEventHandler.Attributes = MemberAttributes.Assembly | MemberAttributes.Overloaded; 2203Attributes = MemberAttributes.Assembly, 2556Attributes = MemberAttributes.Assembly | MemberAttributes.Final 2703Attributes = MemberAttributes.Private, 2764Attributes = MemberAttributes.Family | MemberAttributes.Override, 2803Attributes = MemberAttributes.Family | MemberAttributes.Override, 2836Attributes = MemberAttributes.Family | MemberAttributes.Override 2875Attributes = MemberAttributes.Family | MemberAttributes.Override, 2928Attributes = MemberAttributes.Family | MemberAttributes.Override 3200Attributes = MemberAttributes.Public | MemberAttributes.Static 3462Attributes = MemberAttributes.Public | MemberAttributes.Final
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
669_nameField.Attributes = _fieldModifier;
System.Runtime.Serialization.Schema (19)
System\Runtime\Serialization\Schema\CodeExporter.cs (19)
856field.Attributes = MemberAttributes.Private; 1044raisePropertyChangedEventMethod.Attributes |= MemberAttributes.Family; 1305typeNameField.Attributes |= MemberAttributes.Static | MemberAttributes.Private; 1708nodeArrayField.Attributes = MemberAttributes.Private; 1721readXmlMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1743writeXmlMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1763getSchemaMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1780getSchemaStaticMethod.Attributes = MemberAttributes.Static | MemberAttributes.Public; 1803baseConstructor.Attributes = MemberAttributes.Public; 1824derivedConstructor.Attributes = MemberAttributes.Public; 1840serializationInfoField.Attributes = MemberAttributes.Private; 1861getObjectDataMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1925extensionDataObjectField.Attributes = MemberAttributes.Private; 1937extensionDataObjectProperty.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1959raisePropertyChangedEventMethod.Attributes = MemberAttributes.Final; 1976propertyChangedEvent.Attributes = MemberAttributes.Public; 1994property.Attributes = MemberAttributes.Final; 1996property.Attributes |= MemberAttributes.Assembly; 1998property.Attributes |= MemberAttributes.Public;
System.Windows.Forms.Design (13)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
406docDeclaration.Attributes = newDecl.Attributes;
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
230field.Attributes = fieldAttrs;
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
34Attributes = MemberAttributes.Private
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
54Attributes = MemberAttributes.Private
System\Resources\Tools\StronglyTypedResourceBuilder.cs (9)
498constructor.Attributes = useStatic || internalClass ? MemberAttributes.FamilyAndAssembly : MemberAttributes.Public; 505Attributes = useStatic ? MemberAttributes.Static | MemberAttributes.Private : MemberAttributes.Private 514Attributes = useStatic ? MemberAttributes.Static | MemberAttributes.Private : MemberAttributes.Private 526Attributes = internalClass ? MemberAttributes.Assembly : MemberAttributes.Public 531resourceManagerProperty.Attributes |= MemberAttributes.Static; 557Attributes = internalClass ? MemberAttributes.Assembly : MemberAttributes.Public 564culture.Attributes |= MemberAttributes.Static; 720property.Attributes = internalClass ? MemberAttributes.Assembly : MemberAttributes.Public; 724property.Attributes |= MemberAttributes.Static;
44 references to Attributes
System.CodeDom (38)
Microsoft\CSharp\CSharpCodeGenerator.cs (17)
1115OutputMemberAccessModifier(e.Attributes); 1261OutputMemberAccessModifier(e.Attributes); 1262OutputVTableModifier(e.Attributes); 1263OutputFieldScopeModifier(e.Attributes); 1360OutputMemberAccessModifier(e.Attributes); 1361OutputVTableModifier(e.Attributes); 1362OutputMemberScopeModifier(e.Attributes); 1368OutputVTableModifier(e.Attributes); 1388&& (e.Attributes & MemberAttributes.ScopeMask) != MemberAttributes.Abstract) 1446OutputMemberAccessModifier(e.Attributes); 1447OutputVTableModifier(e.Attributes); 1448OutputMemberScopeModifier(e.Attributes); 1453OutputVTableModifier(e.Attributes); 1480if (IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract) 1496if (IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract) 1754OutputMemberAccessModifier(e.Attributes); 2311if ((e.Attributes & MemberAttributes.New) != 0)
Microsoft\VisualBasic\VBCodeGenerator.cs (18)
680if ((e.Attributes & MemberAttributes.New) != 0) 1464OutputMemberAccessModifier(e.Attributes); 1524OutputMemberAccessModifier(e.Attributes); 1525OutputVTableModifier(e.Attributes); 1526OutputFieldScopeModifier(e.Attributes); 1545if ((e.Attributes & MemberAttributes.Overloaded) != 0) 1595OutputMemberAccessModifier(e.Attributes); 1599OutputVTableModifier(e.Attributes); 1600OutputMemberScopeModifier(e.Attributes); 1605OutputVTableModifier(e.Attributes); 1669&& (e.Attributes & MemberAttributes.ScopeMask) != MemberAttributes.Abstract) 1707if ((e.Attributes & MemberAttributes.Overloaded) != 0) 1747OutputMemberAccessModifier(e.Attributes); 1753OutputVTableModifier(e.Attributes); 1754OutputMemberScopeModifier(e.Attributes); 1759OutputVTableModifier(e.Attributes); 1817if (!c.IsInterface && (e.Attributes & MemberAttributes.ScopeMask) != MemberAttributes.Abstract) 1876OutputMemberAccessModifier(e.Attributes);
System\CodeDom\Compiler\CodeValidator.cs (3)
301if (!(IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract)) 309if (!(IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract)) 365&& (e.Attributes & MemberAttributes.ScopeMask) != MemberAttributes.Abstract)
System.Windows.Forms.Design (6)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (5)
404if (!docDeclaration.Attributes.Equals(newDecl.Attributes)) 406docDeclaration.Attributes = newDecl.Attributes; 488if ((string.Equals(newField.Name, docField.Name)) && newField.Attributes == docField.Attributes && TypesEqual(newField.Type, docField.Type))
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
310MemberAttributes modifiers = field.Attributes & MemberAttributes.AccessMask;