172 references to MemberAttributes
dotnet-svcutil-lib (172)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (6)
146
ctor.Attributes =
MemberAttributes
.Public;
162
nodesField.Attributes =
MemberAttributes
.Private;
175
nodesProperty.Attributes =
MemberAttributes
.Public;
191
getSchemaMethod.Attributes =
MemberAttributes
.Public;
209
writeXml.Attributes =
MemberAttributes
.Public;
240
readXml.Attributes =
MemberAttributes
.Public;
CodeDomFixup\CodeDomHelpers.cs (2)
67
m.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
35
Attributes =
MemberAttributes
.Public,
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (10)
111
ctor.Attributes =
MemberAttributes
.Public;
146
ctor.Attributes =
MemberAttributes
.Public;
185
ctor.Attributes =
MemberAttributes
.Public;
246
operationCompletedMethod.Attributes =
MemberAttributes
.Private;
318
operationCompletedEvent.Attributes =
MemberAttributes
.Public;
351
ctor.Attributes =
MemberAttributes
.Public;
372
property.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
424
m.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
CodeDomFixup\CodeDomVisitors\MakeOldAsyncMethodsPrivate.cs (7)
93
private static bool IsPublic(
MemberAttributes
attrs)
95
return (attrs &
MemberAttributes
.Public) ==
MemberAttributes
.Public;
98
private static
MemberAttributes
MakePrivate(
MemberAttributes
attrs)
100
return (attrs & ~
MemberAttributes
.AccessMask) |
MemberAttributes
.Private;
CodeDomFixup\MethodCreationHelper.cs (8)
28
Attributes =
MemberAttributes
.Private |
MemberAttributes
.Static,
37
Attributes =
MemberAttributes
.Private |
MemberAttributes
.Static,
2176
Attributes =
MemberAttributes
.Static |
MemberAttributes
.Private,
2183
Attributes =
MemberAttributes
.Static |
MemberAttributes
.Private,
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (26)
1255
protected virtual void OutputFieldScopeModifier(
MemberAttributes
attributes)
1257
switch (attributes &
MemberAttributes
.VTableMask)
1259
case
MemberAttributes
.New:
1264
switch (attributes &
MemberAttributes
.ScopeMask)
1266
case
MemberAttributes
.Final:
1268
case
MemberAttributes
.Static:
1271
case
MemberAttributes
.Const:
1284
protected virtual void OutputMemberAccessModifier(
MemberAttributes
attributes)
1286
switch (attributes &
MemberAttributes
.AccessMask)
1288
case
MemberAttributes
.Assembly:
1291
case
MemberAttributes
.FamilyAndAssembly:
1294
case
MemberAttributes
.Family:
1297
case
MemberAttributes
.FamilyOrAssembly:
1300
case
MemberAttributes
.Private:
1303
case
MemberAttributes
.Public:
1314
protected virtual void OutputMemberScopeModifier(
MemberAttributes
attributes)
1316
switch (attributes &
MemberAttributes
.VTableMask)
1318
case
MemberAttributes
.New:
1323
switch (attributes &
MemberAttributes
.ScopeMask)
1325
case
MemberAttributes
.Abstract:
1328
case
MemberAttributes
.Final:
1331
case
MemberAttributes
.Static:
1334
case
MemberAttributes
.Override:
1338
switch (attributes &
MemberAttributes
.AccessMask)
1340
case
MemberAttributes
.Family:
1341
case
MemberAttributes
.Public:
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (6)
319
if (!(IsCurrentInterface || (e.Attributes &
MemberAttributes
.ScopeMask) ==
MemberAttributes
.Abstract))
327
if (!(IsCurrentInterface || (e.Attributes &
MemberAttributes
.ScopeMask) ==
MemberAttributes
.Abstract))
386
&& (e.Attributes &
MemberAttributes
.ScopeMask) !=
MemberAttributes
.Abstract)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (40)
80
if (type == typeof(
MemberAttributes
))
2148
&& (e.Attributes &
MemberAttributes
.ScopeMask) !=
MemberAttributes
.Abstract)
2246
if (IsCurrentInterface || (e.Attributes &
MemberAttributes
.ScopeMask) ==
MemberAttributes
.Abstract)
2262
if (IsCurrentInterface || (e.Attributes &
MemberAttributes
.ScopeMask) ==
MemberAttributes
.Abstract)
2330
private void OutputVTableModifier(
MemberAttributes
attributes)
2332
switch (attributes &
MemberAttributes
.VTableMask)
2334
case
MemberAttributes
.New:
2345
private void OutputMemberAccessModifier(
MemberAttributes
attributes)
2347
switch (attributes &
MemberAttributes
.AccessMask)
2349
case
MemberAttributes
.Assembly:
2352
case
MemberAttributes
.FamilyAndAssembly:
2355
case
MemberAttributes
.Family:
2358
case
MemberAttributes
.FamilyOrAssembly:
2361
case
MemberAttributes
.Private:
2364
case
MemberAttributes
.Public:
2370
private void OutputMemberScopeModifier(
MemberAttributes
attributes)
2372
switch (attributes &
MemberAttributes
.ScopeMask)
2374
case
MemberAttributes
.Abstract:
2377
case
MemberAttributes
.Final:
2380
case
MemberAttributes
.Static:
2383
case
MemberAttributes
.Override:
2387
switch (attributes &
MemberAttributes
.AccessMask)
2389
case
MemberAttributes
.Family:
2390
case
MemberAttributes
.Public:
2391
case
MemberAttributes
.Assembly:
2465
private void OutputFieldScopeModifier(
MemberAttributes
attributes)
2467
switch (attributes &
MemberAttributes
.ScopeMask)
2469
case
MemberAttributes
.Final:
2471
case
MemberAttributes
.Static:
2474
case
MemberAttributes
.Const:
3172
if ((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
4589
return
MemberAttributes
.Private;
FrameworkFork\Microsoft.CodeDom\System\CodeTypeMember.cs (5)
26
private
MemberAttributes
_attributes =
MemberAttributes
.Private |
MemberAttributes
.Final;
59
/// Gets or sets a <see cref='Microsoft.CodeDom.
MemberAttributes
'/> indicating
63
public
MemberAttributes
Attributes
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (5)
354
prop.Attributes = (prop.Attributes & ~
MemberAttributes
.AccessMask) |
MemberAttributes
.Public;
408
raisePropertyChangedEventMethod.Attributes =
MemberAttributes
.Family |
MemberAttributes
.Final;
425
propertyChangedEvent.Attributes =
MemberAttributes
.Public;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (6)
242
field.Attributes = (field.Attributes & ~
MemberAttributes
.AccessMask) |
MemberAttributes
.Public;
250
field.Attributes = (field.Attributes & ~
MemberAttributes
.AccessMask) |
MemberAttributes
.Public;
264
field.Attributes =
MemberAttributes
.Private;
275
field.Attributes =
MemberAttributes
.Private;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (9)
578
ctor.Attributes = (ctor.Attributes & ~
MemberAttributes
.AccessMask) |
MemberAttributes
.Public;
582
ctor.Attributes |=
MemberAttributes
.Abstract;
813
field.Attributes = (field.Attributes & ~
MemberAttributes
.AccessMask) |
MemberAttributes
.Public;
821
field.Attributes = (field.Attributes & ~
MemberAttributes
.AccessMask) |
MemberAttributes
.Public;
835
field.Attributes =
MemberAttributes
.Private;
846
field.Attributes =
MemberAttributes
.Private;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (21)
874
field.Attributes =
MemberAttributes
.Private;
1045
raisePropertyChangedEventMethod.Attributes |=
MemberAttributes
.Family;
1221
typeNameField.Attributes |=
MemberAttributes
.Static |
MemberAttributes
.Private;
1574
nodeArrayField.Attributes =
MemberAttributes
.Private;
1586
readXmlMethod.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
1608
writeXmlMethod.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
1628
getSchemaMethod.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
1645
getSchemaStaticMethod.Attributes =
MemberAttributes
.Static |
MemberAttributes
.Public;
1670
extensionDataObjectField.Attributes =
MemberAttributes
.Private;
1682
extensionDataObjectProperty.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
1704
raisePropertyChangedEventMethod.Attributes =
MemberAttributes
.Final;
1721
propertyChangedEvent.Attributes =
MemberAttributes
.Public;
1739
property.Attributes =
MemberAttributes
.Final;
1741
property.Attributes |=
MemberAttributes
.Assembly;
1743
property.Attributes |=
MemberAttributes
.Public;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (17)
189
ctor.Attributes =
MemberAttributes
.Public;
266
helperMethod.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
474
m.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
531
ctor.Attributes =
MemberAttributes
.Public;
599
property.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
619
operationCompletedEvent.Attributes =
MemberAttributes
.Public;
642
beginOperationDelegate.Attributes =
MemberAttributes
.Private;
655
onBeginOperationMethod.Attributes =
MemberAttributes
.Private;
697
endOperationDelegate.Attributes =
MemberAttributes
.Private;
709
onEndOperationMethod.Attributes =
MemberAttributes
.Private;
772
operationCompletedDelegate.Attributes =
MemberAttributes
.Private;
785
operationCompletedMethod.Attributes =
MemberAttributes
.Private;
846
eventAsyncMethod.Attributes =
MemberAttributes
.Public |
MemberAttributes
.Final;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
566
memberDecl.Attributes =
MemberAttributes
.Public;
820
defaultCtor.Attributes =
MemberAttributes
.Public;
823
otherCtor.Attributes =
MemberAttributes
.Public;