172 references to MemberAttributes
dotnet-svcutil-lib (172)
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 (2)
67m.Attributes = MemberAttributes.Public | MemberAttributes.Final;
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
81Attributes = MemberAttributes.Public,
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (10)
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 (7)
93private static bool IsPublic(MemberAttributes attrs) 95return (attrs & MemberAttributes.Public) == MemberAttributes.Public; 98private static MemberAttributes MakePrivate(MemberAttributes attrs) 100return (attrs & ~MemberAttributes.AccessMask) | MemberAttributes.Private;
CodeDomFixup\MethodCreationHelper.cs (8)
28Attributes = MemberAttributes.Private | MemberAttributes.Static, 37Attributes = MemberAttributes.Private | MemberAttributes.Static, 2176Attributes = MemberAttributes.Static | MemberAttributes.Private, 2183Attributes = MemberAttributes.Static | MemberAttributes.Private,
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (26)
1255protected virtual void OutputFieldScopeModifier(MemberAttributes attributes) 1257switch (attributes & MemberAttributes.VTableMask) 1259case MemberAttributes.New: 1264switch (attributes & MemberAttributes.ScopeMask) 1266case MemberAttributes.Final: 1268case MemberAttributes.Static: 1271case MemberAttributes.Const: 1284protected virtual void OutputMemberAccessModifier(MemberAttributes attributes) 1286switch (attributes & MemberAttributes.AccessMask) 1288case MemberAttributes.Assembly: 1291case MemberAttributes.FamilyAndAssembly: 1294case MemberAttributes.Family: 1297case MemberAttributes.FamilyOrAssembly: 1300case MemberAttributes.Private: 1303case MemberAttributes.Public: 1314protected virtual void OutputMemberScopeModifier(MemberAttributes attributes) 1316switch (attributes & MemberAttributes.VTableMask) 1318case MemberAttributes.New: 1323switch (attributes & MemberAttributes.ScopeMask) 1325case MemberAttributes.Abstract: 1328case MemberAttributes.Final: 1331case MemberAttributes.Static: 1334case MemberAttributes.Override: 1338switch (attributes & MemberAttributes.AccessMask) 1340case MemberAttributes.Family: 1341case MemberAttributes.Public:
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (6)
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 (40)
80if (type == typeof(MemberAttributes)) 2148&& (e.Attributes & MemberAttributes.ScopeMask) != MemberAttributes.Abstract) 2246if (IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract) 2262if (IsCurrentInterface || (e.Attributes & MemberAttributes.ScopeMask) == MemberAttributes.Abstract) 2330private void OutputVTableModifier(MemberAttributes attributes) 2332switch (attributes & MemberAttributes.VTableMask) 2334case MemberAttributes.New: 2345private void OutputMemberAccessModifier(MemberAttributes attributes) 2347switch (attributes & MemberAttributes.AccessMask) 2349case MemberAttributes.Assembly: 2352case MemberAttributes.FamilyAndAssembly: 2355case MemberAttributes.Family: 2358case MemberAttributes.FamilyOrAssembly: 2361case MemberAttributes.Private: 2364case MemberAttributes.Public: 2370private void OutputMemberScopeModifier(MemberAttributes attributes) 2372switch (attributes & MemberAttributes.ScopeMask) 2374case MemberAttributes.Abstract: 2377case MemberAttributes.Final: 2380case MemberAttributes.Static: 2383case MemberAttributes.Override: 2387switch (attributes & MemberAttributes.AccessMask) 2389case MemberAttributes.Family: 2390case MemberAttributes.Public: 2391case MemberAttributes.Assembly: 2465private void OutputFieldScopeModifier(MemberAttributes attributes) 2467switch (attributes & MemberAttributes.ScopeMask) 2469case MemberAttributes.Final: 2471case MemberAttributes.Static: 2474case MemberAttributes.Const: 3172if ((e.Attributes & MemberAttributes.New) != 0) 4573(object)MemberAttributes.Public, 4574(object)MemberAttributes.Family, 4575(object)MemberAttributes.FamilyOrAssembly, 4576(object)MemberAttributes.Assembly, 4577(object)MemberAttributes.Private 4589return MemberAttributes.Private;
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMember.cs (5)
26private MemberAttributes _attributes = MemberAttributes.Private | MemberAttributes.Final; 59/// Gets or sets a <see cref='Microsoft.CodeDom.MemberAttributes'/> indicating 63public MemberAttributes Attributes
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (5)
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 (6)
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 (9)
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 (21)
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 (17)
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;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
566memberDecl.Attributes = MemberAttributes.Public; 820defaultCtor.Attributes = MemberAttributes.Public; 823otherCtor.Attributes = MemberAttributes.Public;