66 writes to Attributes
dotnet-svcutil-lib (66)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (6)
146ctor.Attributes = MemberAttributes.Public; 162nodesField.Attributes = MemberAttributes.Private; 175nodesProperty.Attributes = MemberAttributes.Public; 191getSchemaMethod.Attributes = MemberAttributes.Public; 209writeXml.Attributes = MemberAttributes.Public; 240readXml.Attributes = MemberAttributes.Public;
CodeDomFixup\CodeDomHelpers.cs (1)
67m.Attributes = MemberAttributes.Public | MemberAttributes.Final;
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
35Attributes = MemberAttributes.Public,
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (8)
111ctor.Attributes = MemberAttributes.Public; 146ctor.Attributes = MemberAttributes.Public; 185ctor.Attributes = MemberAttributes.Public; 246operationCompletedMethod.Attributes = MemberAttributes.Private; 318operationCompletedEvent.Attributes = MemberAttributes.Public; 351ctor.Attributes = MemberAttributes.Public; 372property.Attributes = MemberAttributes.Public | MemberAttributes.Final; 424m.Attributes = MemberAttributes.Public | MemberAttributes.Final;
CodeDomFixup\CodeDomVisitors\MakeOldAsyncMethodsPrivate.cs (1)
41method.Attributes = MakePrivate(method.Attributes);
CodeDomFixup\MethodCreationHelper.cs (4)
28Attributes = MemberAttributes.Private | MemberAttributes.Static, 37Attributes = MemberAttributes.Private | MemberAttributes.Static, 2176Attributes = MemberAttributes.Static | MemberAttributes.Private, 2183Attributes = MemberAttributes.Static | MemberAttributes.Private,
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (3)
354prop.Attributes = (prop.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 408raisePropertyChangedEventMethod.Attributes = MemberAttributes.Family | MemberAttributes.Final; 425propertyChangedEvent.Attributes = MemberAttributes.Public;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (4)
242field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 250field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 264field.Attributes = MemberAttributes.Private; 275field.Attributes = MemberAttributes.Private;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (6)
578ctor.Attributes = (ctor.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 582ctor.Attributes |= MemberAttributes.Abstract; 813field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 821field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 835field.Attributes = MemberAttributes.Private; 846field.Attributes = MemberAttributes.Private;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (15)
874field.Attributes = MemberAttributes.Private; 1045raisePropertyChangedEventMethod.Attributes |= MemberAttributes.Family; 1221typeNameField.Attributes |= MemberAttributes.Static | MemberAttributes.Private; 1574nodeArrayField.Attributes = MemberAttributes.Private; 1586readXmlMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1608writeXmlMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1628getSchemaMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1645getSchemaStaticMethod.Attributes = MemberAttributes.Static | MemberAttributes.Public; 1670extensionDataObjectField.Attributes = MemberAttributes.Private; 1682extensionDataObjectProperty.Attributes = MemberAttributes.Public | MemberAttributes.Final; 1704raisePropertyChangedEventMethod.Attributes = MemberAttributes.Final; 1721propertyChangedEvent.Attributes = MemberAttributes.Public; 1739property.Attributes = MemberAttributes.Final; 1741property.Attributes |= MemberAttributes.Assembly; 1743property.Attributes |= MemberAttributes.Public;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (14)
189ctor.Attributes = MemberAttributes.Public; 266helperMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 474m.Attributes = MemberAttributes.Public | MemberAttributes.Final; 531ctor.Attributes = MemberAttributes.Public; 599property.Attributes = MemberAttributes.Public | MemberAttributes.Final; 619operationCompletedEvent.Attributes = MemberAttributes.Public; 642beginOperationDelegate.Attributes = MemberAttributes.Private; 655onBeginOperationMethod.Attributes = MemberAttributes.Private; 697endOperationDelegate.Attributes = MemberAttributes.Private; 709onEndOperationMethod.Attributes = MemberAttributes.Private; 772operationCompletedDelegate.Attributes = MemberAttributes.Private; 785operationCompletedMethod.Attributes = MemberAttributes.Private; 846eventAsyncMethod.Attributes = MemberAttributes.Public | MemberAttributes.Final; 891eventAsyncMethodOverload.Attributes = eventAsyncMethod.Attributes;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
566memberDecl.Attributes = MemberAttributes.Public; 820defaultCtor.Attributes = MemberAttributes.Public; 823otherCtor.Attributes = MemberAttributes.Public;
29 references to Attributes
dotnet-svcutil-lib (29)
CodeDomFixup\CodeDomVisitors\MakeOldAsyncMethodsPrivate.cs (2)
36if (method != null && (CodeDomHelpers.IsBeginMethod(method) || CodeDomHelpers.IsEndMethod(method)) && IsPublic(method.Attributes)) 41method.Attributes = MakePrivate(method.Attributes);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
319if (!(IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract)) 327if (!(IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract)) 386&& (e.Attributes & MemberAttributes.ScopeMask) != MemberAttributes.Abstract)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (17)
1844OutputMemberAccessModifier(e.Attributes); 2005OutputMemberAccessModifier(e.Attributes); 2006OutputVTableModifier(e.Attributes); 2007OutputFieldScopeModifier(e.Attributes); 2120OutputMemberAccessModifier(e.Attributes); 2121OutputVTableModifier(e.Attributes); 2122OutputMemberScopeModifier(e.Attributes); 2128OutputVTableModifier(e.Attributes); 2148&& (e.Attributes & MemberAttributes.ScopeMask) != MemberAttributes.Abstract) 2212OutputMemberAccessModifier(e.Attributes); 2213OutputVTableModifier(e.Attributes); 2214OutputMemberScopeModifier(e.Attributes); 2219OutputVTableModifier(e.Attributes); 2246if (IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract) 2262if (IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract) 2543OutputMemberAccessModifier(e.Attributes); 3172if ((e.Attributes & MemberAttributes.New) != 0)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
354prop.Attributes = (prop.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (2)
242field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 250field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (3)
578ctor.Attributes = (ctor.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 813field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public; 821field.Attributes = (field.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
891eventAsyncMethodOverload.Attributes = eventAsyncMethod.Attributes;