453 references to MethodAttributes
mscorlib (235)
system\__filters.cs (16)
45
MethodAttributes
criteria = 0;
48
criteria = (
MethodAttributes
) i;
55
MethodAttributes
attr;
61
if (((criteria &
MethodAttributes
.MemberAccessMask) != 0) && (attr &
MethodAttributes
.MemberAccessMask) != (criteria &
MethodAttributes
.MemberAccessMask))
63
if (((criteria &
MethodAttributes
.Static) != 0) && (attr &
MethodAttributes
.Static) == 0)
65
if (((criteria &
MethodAttributes
.Final) != 0) && (attr &
MethodAttributes
.Final) == 0)
67
if (((criteria &
MethodAttributes
.Virtual) != 0) && (attr &
MethodAttributes
.Virtual) == 0)
69
if (((criteria &
MethodAttributes
.Abstract) != 0) && (attr &
MethodAttributes
.Abstract) == 0)
71
if (((criteria &
MethodAttributes
.SpecialName) != 0) && (attr &
MethodAttributes
.SpecialName) == 0)
system\delegate.cs (2)
241
bool isStatic = (RuntimeMethodHandle.GetAttributes(method) &
MethodAttributes
.Static) != (
MethodAttributes
)0;
system\reflection\Associates.cs (12)
72
MethodAttributes
methAttr = RuntimeMethodHandle.GetAttributes(associateMethodHandle);
84
if ((methAttr &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Private)
93
if ((methAttr &
MethodAttributes
.Virtual) != 0)
166
MethodAttributes
methAttr = associateMethod.Attributes;
167
bool isPrivate =(methAttr &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Private;
168
bool isVirtual =(methAttr &
MethodAttributes
.Virtual) != 0;
170
MethodAttributes
visibility = methAttr &
MethodAttributes
.MemberAccessMask;
171
bool isPublic = visibility ==
MethodAttributes
.Public;
172
bool isStatic =(methAttr &
MethodAttributes
.Static) != 0;
system\reflection\cominterfaces.cs (3)
320
MethodAttributes
Attributes { get; }
378
MethodAttributes
Attributes { get; }
442
MethodAttributes
Attributes { get; }
system\reflection\ConstructorInfo.cs (9)
175
private
MethodAttributes
m_methodAttributes;
226
((Attributes &
MethodAttributes
.RequireSecObject) ==
MethodAttributes
.RequireSecObject))
241
((Attributes &
MethodAttributes
.MemberAccessMask) !=
MethodAttributes
.Public ||
271
MethodAttributes
methodAttributes, BindingFlags bindingFlags)
520
public override
MethodAttributes
Attributes
587
if ((Attributes &
MethodAttributes
.Static) ==
MethodAttributes
.Static)
system\reflection\emit\constructorbuilder.cs (3)
37
internal ConstructorBuilder(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
55
internal ConstructorBuilder(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
129
public override
MethodAttributes
Attributes
system\reflection\emit\customattributebuilder.cs (4)
125
if ((con.Attributes &
MethodAttributes
.Static) ==
MethodAttributes
.Static ||
126
(con.Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Private)
system\reflection\emit\dynamicmethod.cs (24)
86
MethodAttributes
.Public |
MethodAttributes
.Static,
107
MethodAttributes
.Public |
MethodAttributes
.Static,
131
MethodAttributes
.Public |
MethodAttributes
.Static,
156
MethodAttributes
.Public |
MethodAttributes
.Static,
174
MethodAttributes
attributes,
207
MethodAttributes
.Public |
MethodAttributes
.Static,
232
MethodAttributes
.Public |
MethodAttributes
.Static,
250
MethodAttributes
attributes,
272
static private void CheckConsistency(
MethodAttributes
attributes, CallingConventions callingConvention) {
274
if ((attributes & ~
MethodAttributes
.MemberAccessMask) !=
MethodAttributes
.Static)
276
if ((attributes &
MethodAttributes
.MemberAccessMask) !=
MethodAttributes
.Public)
345
MethodAttributes
attributes,
615
public override
MethodAttributes
Attributes { get { return m_dynMethod.Attributes; } }
858
MethodAttributes
m_attributes;
866
internal RTDynamicMethod(DynamicMethod owner, String name,
MethodAttributes
attributes, CallingConventions callingConvention) {
900
public override
MethodAttributes
Attributes {
system\reflection\emit\methodbuilder.cs (15)
52
private
MethodAttributes
m_iAttributes;
72
internal MethodBuilder(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
78
internal MethodBuilder(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
89
private void Init(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
130
if ((attributes &
MethodAttributes
.Static) == 0)
135
else if ((attributes &
MethodAttributes
.Virtual) != 0)
141
if ((attributes &
MethodAttributes
.SpecialName) !=
MethodAttributes
.SpecialName)
146
if ((attributes & (
MethodAttributes
.Abstract |
MethodAttributes
.Virtual)) !=
147
(
MethodAttributes
.Abstract |
MethodAttributes
.Virtual) &&
148
(attributes &
MethodAttributes
.Static) == 0)
587
public override
MethodAttributes
Attributes
1139
(m_iAttributes &
MethodAttributes
.PinvokeImpl) != 0 ||
system\reflection\emit\methodbuilderinstantiation.cs (1)
66
public override
MethodAttributes
Attributes { get { return m_method.Attributes; } }
system\reflection\emit\modulebuilder.cs (9)
1462
public MethodBuilder DefineGlobalMethod(String name,
MethodAttributes
attributes, Type returnType, Type[] parameterTypes)
1469
public MethodBuilder DefineGlobalMethod(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
1477
public MethodBuilder DefineGlobalMethod(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
1489
private MethodBuilder DefineGlobalMethodNoLock(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
1502
if ((attributes &
MethodAttributes
.Static) == 0)
1522
public MethodBuilder DefinePInvokeMethod(String name, String dllName,
MethodAttributes
attributes,
1534
public MethodBuilder DefinePInvokeMethod(String name, String dllName, String entryName,
MethodAttributes
attributes,
1550
private MethodBuilder DefinePInvokeMethodNoLock(String name, String dllName, String entryName,
MethodAttributes
attributes,
1555
if ((attributes &
MethodAttributes
.Static) == 0)
system\reflection\emit\propertybuilder.cs (4)
211
if ((m_getMethod.Attributes &
MethodAttributes
.Public) ==
MethodAttributes
.Public)
221
if ((m_setMethod.Attributes &
MethodAttributes
.Public) ==
MethodAttributes
.Public)
system\reflection\emit\symbolmethod.cs (1)
113
public override
MethodAttributes
Attributes
system\reflection\emit\typebuilder.cs (36)
198
MethodAttributes
attributes);
737
String name, String dllName, String importName,
MethodAttributes
attributes, CallingConventions callingConvention,
760
String name, String dllName, String importName,
MethodAttributes
attributes, CallingConventions callingConvention,
783
if ((attributes &
MethodAttributes
.Abstract) != 0)
792
attributes = attributes |
MethodAttributes
.PinvokeImpl;
1651
public MethodBuilder DefineMethod(String name,
MethodAttributes
attributes, Type returnType, Type[] parameterTypes)
1658
public MethodBuilder DefineMethod(String name,
MethodAttributes
attributes)
1665
public MethodBuilder DefineMethod(String name,
MethodAttributes
attributes, CallingConventions callingConvention)
1672
public MethodBuilder DefineMethod(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
1680
public MethodBuilder DefineMethod(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
1694
private MethodBuilder DefineMethodNoLock(String name,
MethodAttributes
attributes, CallingConventions callingConvention,
1725
(attributes &
MethodAttributes
.Abstract) == 0 &&(attributes &
MethodAttributes
.Static) == 0)
1739
if ((method.Attributes &
MethodAttributes
.SpecialName) != 0 && method.Name.Equals(ConstructorInfo.ConstructorName))
1769
MethodAttributes
attr =
MethodAttributes
.Private |
MethodAttributes
.Static |
MethodAttributes
.SpecialName;
1778
public ConstructorBuilder DefineDefaultConstructor(
MethodAttributes
attributes)
1791
private ConstructorBuilder DefineDefaultConstructorNoLock(
MethodAttributes
attributes)
1846
public ConstructorBuilder DefineConstructor(
MethodAttributes
attributes, CallingConventions callingConvention, Type[] parameterTypes)
1853
public ConstructorBuilder DefineConstructor(
MethodAttributes
attributes, CallingConventions callingConvention,
1856
if ((m_iAttr & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes &
MethodAttributes
.Static) !=
MethodAttributes
.Static)
1868
private ConstructorBuilder DefineConstructorNoLock(
MethodAttributes
attributes, CallingConventions callingConvention,
1879
if ((attributes &
MethodAttributes
.Static) == 0)
1888
attributes = attributes |
MethodAttributes
.SpecialName;
1907
public MethodBuilder DefinePInvokeMethod(String name, String dllName,
MethodAttributes
attributes,
1922
public MethodBuilder DefinePInvokeMethod(String name, String dllName, String entryName,
MethodAttributes
attributes,
1937
public MethodBuilder DefinePInvokeMethod(String name, String dllName, String entryName,
MethodAttributes
attributes,
2358
MethodAttributes
methodAttrs;
2366
DefineDefaultConstructor(
MethodAttributes
.Public);
2384
((methodAttrs &
MethodAttributes
.PinvokeImpl) !=(
MethodAttributes
) 0))
2393
if (((methodAttrs &
MethodAttributes
.Abstract) != 0) &&((m_iAttr & TypeAttributes.Abstract) == 0))
2402
if ((methodAttrs &
MethodAttributes
.Abstract) != 0)
system\reflection\emit\xxxontypebuilderinstantiation.cs (2)
79
public override
MethodAttributes
Attributes { get { return m_method.Attributes; } }
176
public override
MethodAttributes
Attributes { get { return m_ctor.Attributes; } }
system\reflection\methodbase.cs (21)
177
public abstract
MethodAttributes
Attributes { get; }
214
public bool IsPublic { get { return(Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Public; } }
216
public bool IsPrivate { get { return(Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Private; } }
218
public bool IsFamily { get { return(Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Family; } }
220
public bool IsAssembly { get { return(Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Assembly; } }
222
public bool IsFamilyAndAssembly { get { return(Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.FamANDAssem; } }
224
public bool IsFamilyOrAssembly { get {return(Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.FamORAssem; } }
226
public bool IsStatic { get { return(Attributes &
MethodAttributes
.Static) != 0; } }
228
public bool IsFinal { get { return(Attributes &
MethodAttributes
.Final) != 0; }
230
public bool IsVirtual { get { return(Attributes &
MethodAttributes
.Virtual) != 0; }
232
public bool IsHideBySig { get { return(Attributes &
MethodAttributes
.HideBySig) != 0; } }
234
public bool IsAbstract { get { return(Attributes &
MethodAttributes
.Abstract) != 0; } }
236
public bool IsSpecialName { get { return(Attributes &
MethodAttributes
.SpecialName) != 0; } }
246
((Attributes &
MethodAttributes
.RTSpecialName) ==
MethodAttributes
.RTSpecialName));
system\reflection\methodinfo.cs (9)
140
private
MethodAttributes
m_methodAttributes;
202
((Attributes &
MethodAttributes
.RequireSecObject) ==
MethodAttributes
.RequireSecObject))
214
if ( (Attributes &
MethodAttributes
.MemberAccessMask) !=
MethodAttributes
.Public ||
253
RuntimeTypeCache reflectedTypeCache,
MethodAttributes
methodAttributes, BindingFlags bindingFlags, object keepalive)
627
public override
MethodAttributes
Attributes { get { return m_methodAttributes; } }
656
if ((m_methodAttributes &
MethodAttributes
.Static) !=
MethodAttributes
.Static)
system\rttype.cs (41)
330
MethodAttributes
methodAttributes = RuntimeMethodHandle.GetAttributes(method);
331
bool isPublic = (methodAttributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Public;
332
bool isStatic = (methodAttributes &
MethodAttributes
.Static) != 0;
653
(RuntimeMethodHandle.GetAttributes(methodHandle) & (
MethodAttributes
.RTSpecialName |
MethodAttributes
.Abstract |
MethodAttributes
.Virtual)) == (
MethodAttributes
.Abstract |
MethodAttributes
.Virtual) ||
654
(RuntimeMethodHandle.GetAttributes(methodHandle) &
MethodAttributes
.Static) ==
MethodAttributes
.Static ||
660
MethodAttributes
methodAttributes = RuntimeMethodHandle.GetAttributes(methodHandle);
661
bool isPublic = (methodAttributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Public;
662
bool isStatic = (methodAttributes &
MethodAttributes
.Static) != 0;
667
if ((methodAttributes &
MethodAttributes
.RTSpecialName) != 0)
711
MethodAttributes
methodAttributes = RuntimeMethodHandle.GetAttributes(methodHandle);
712
MethodAttributes
methodAccess = methodAttributes &
MethodAttributes
.MemberAccessMask;
716
(RuntimeMethodHandle.GetAttributes(methodHandle) &
MethodAttributes
.RTSpecialName) == 0 ||
720
if ((methodAttributes &
MethodAttributes
.RTSpecialName) != 0)
727
if ((methodAttributes &
MethodAttributes
.Virtual) != 0)
742
bool isPrivate = methodAccess ==
MethodAttributes
.Private;
752
(methodAttributes &
MethodAttributes
.Abstract) != 0 ||
753
(methodAttributes &
MethodAttributes
.Virtual) != 0 ||
763
if ((methodAttributes & (
MethodAttributes
.Virtual |
MethodAttributes
.Abstract)) != 0)
768
Contract.Assert((methodAttributes & (
MethodAttributes
.Virtual |
MethodAttributes
.Abstract)) == 0);
773
bool isPublic = methodAccess ==
MethodAttributes
.Public;
774
bool isStatic = (methodAttributes &
MethodAttributes
.Static) != 0;
822
MethodAttributes
methodAttributes = RuntimeMethodHandle.GetAttributes(methodHandle);
826
if ((methodAttributes &
MethodAttributes
.RTSpecialName) == 0)
831
(methodAttributes &
MethodAttributes
.Abstract) == 0 &&
832
(methodAttributes &
MethodAttributes
.Virtual) == 0);
835
bool isPublic = (methodAttributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Public;
836
bool isStatic = (methodAttributes &
MethodAttributes
.Static) != 0;
5360
internal readonly
MethodAttributes
m_ctorAttributes;
5515
(ace.m_ctorAttributes &
MethodAttributes
.MemberAccessMask) !=
MethodAttributes
.Public)
system\runtime\interopservices\attributes.cs (2)
779
if ((method.Attributes &
MethodAttributes
.PinvokeImpl) == 0)
829
return (method.Attributes &
MethodAttributes
.PinvokeImpl) != 0;
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (12)
135
MethodAttributes
.Public |
MethodAttributes
.Virtual,
295
MethodAttributes
.Public |
MethodAttributes
.Virtual,
485
MethodAttributes
.Private,
560
MethodAttributes
ctorAttributes =
MethodAttributes
.SpecialName | (DefaultBaseClsCons.Attributes &
MethodAttributes
.MemberAccessMask);
621
MethodBuilder Meth = OutputTypeBuilder.DefineMethod( "Finalize",
MethodAttributes
.Public |
MethodAttributes
.Virtual, null, null );
750
MethodBuilder Meth = OutputTypeBuilder.DefineMethod( "Dispose",
MethodAttributes
.Public |
MethodAttributes
.Virtual, null, null );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (6)
107
Method.Attributes & ~
MethodAttributes
.Abstract,
142
MethodAttributes
attr =
MethodAttributes
.Public |
MethodAttributes
.Virtual;
262
MethodAttributes
.Assembly |
MethodAttributes
.SpecialName,
system\runtimehandles.cs (3)
1176
internal static extern
MethodAttributes
GetAttributes(RuntimeMethodHandleInternal method);
1179
internal static
MethodAttributes
GetAttributes(IRuntimeMethodInfo method)
1181
MethodAttributes
retVal = RuntimeMethodHandle.GetAttributes(method.Value);
System (11)
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
130
public override
MethodAttributes
Attributes {
133
return
MethodAttributes
.Public;
regex\system\text\regularexpressions\RegexCompiler.cs (9)
3202
MethodAttributes
ma = System.Reflection.
MethodAttributes
.Public;
3279
ma = System.Reflection.
MethodAttributes
.Public;
3380
MethodAttributes
ma = System.Reflection.
MethodAttributes
.Public | System.Reflection.
MethodAttributes
.Virtual;
3449
MethodAttributes
attribs =
MethodAttributes
.Public |
MethodAttributes
.Static;
System.Activities (2)
System\Activities\Debugger\StateManager.cs (2)
609
MethodAttributes
.Static |
MethodAttributes
.Public,
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1951
public override
MethodAttributes
Attributes { get { return _info.Attributes; } }
System.AddIn (3)
System\Addin\MiniReflection\TypeInfo.cs (3)
524
System.Reflection.
MethodAttributes
attrs = (System.Reflection.
MethodAttributes
)peFile.B.ReadUInt16(); // Flags - MethodAttributes
526
if (!includePrivate && (attrs & System.Reflection.
MethodAttributes
.Public) == 0)
System.Core (14)
Microsoft\Scripting\Ast\TypeUtils.cs (3)
33
internal const
MethodAttributes
PublicStatic =
MethodAttributes
.Public |
MethodAttributes
.Static;
Microsoft\Scripting\Compiler\DelegateHelpers.cs (9)
27
private const
MethodAttributes
CtorAttributes =
MethodAttributes
.RTSpecialName |
MethodAttributes
.HideBySig |
MethodAttributes
.Public;
29
private const
MethodAttributes
InvokeAttributes =
MethodAttributes
.Public |
MethodAttributes
.HideBySig |
MethodAttributes
.NewSlot |
MethodAttributes
.Virtual;
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (2)
129
MethodBuilder mb = _typeBuilder.DefineMethod(name,
MethodAttributes
.Private |
MethodAttributes
.Static);
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1951
public override
MethodAttributes
Attributes { get { return _info.Attributes; } }
System.Data.Entity (79)
System\Data\Objects\Internal\EntityProxyFactory.cs (79)
569
bool accessableCtor = ctor != null && (((ctor.Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Public) ||
570
((ctor.Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.Family) ||
571
((ctor.Attributes &
MethodAttributes
.MemberAccessMask) ==
MethodAttributes
.FamORAssem));
586
MethodAttributes
access = method.Attributes &
MethodAttributes
.MemberAccessMask;
589
(access ==
MethodAttributes
.Public ||
590
access ==
MethodAttributes
.Family ||
591
access ==
MethodAttributes
.FamORAssem);
718
_typeBuilder.DefineDefaultConstructor(
MethodAttributes
.Public |
MethodAttributes
.HideBySig |
MethodAttributes
.RTSpecialName |
MethodAttributes
.SpecialName);
739
const
MethodAttributes
getterAttributes =
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.Virtual;
740
MethodAttributes
getterAccess = baseGetter.Attributes &
MethodAttributes
.MemberAccessMask;
760
const
MethodAttributes
methodAttributes =
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.Virtual;
761
MethodAttributes
methodAccess = baseSetter.Attributes &
MethodAttributes
.MemberAccessMask;
875
const
MethodAttributes
getterAttributes =
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.Virtual;
876
MethodAttributes
getterAccess = baseGetter.Attributes &
MethodAttributes
.MemberAccessMask;
985
MethodBuilder getterBuilder = typeBuilder.DefineMethod("GetBasePropertyValue",
MethodAttributes
.Public |
MethodAttributes
.HideBySig, typeof(object), new Type[] { typeof(string) });
1007
MethodBuilder setterBuilder = typeBuilder.DefineMethod("SetBasePropertyValue",
MethodAttributes
.Public |
MethodAttributes
.HideBySig, typeof(void), new Type[] { typeof(string), typeof(object) });
1227
const
MethodAttributes
methodAttributes =
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.Virtual;
1228
MethodAttributes
methodAccess = baseSetter.Attributes &
MethodAttributes
.MemberAccessMask;
1347
const
MethodAttributes
methodAttributes =
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.Virtual;
1349
MethodAttributes
methodAccess = baseSetter.Attributes &
MethodAttributes
.MemberAccessMask;
1371
const
MethodAttributes
methodAttributes =
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.Virtual;
1373
MethodAttributes
methodAccess = baseSetter.Attributes &
MethodAttributes
.MemberAccessMask;
1407
_entityMemberChanging = typeBuilder.DefineMethod("EntityMemberChanging",
MethodAttributes
.Private |
MethodAttributes
.HideBySig, typeof(void), new Type[] { typeof(string) });
1421
_entityMemberChanged = typeBuilder.DefineMethod("EntityMemberChanged",
MethodAttributes
.Private |
MethodAttributes
.HideBySig, typeof(void), new Type[] { typeof(string) });
1435
MethodBuilder setChangeTracker = typeBuilder.DefineMethod("SetChangeTracker",
MethodAttributes
.Public |
MethodAttributes
.HideBySig |
MethodAttributes
.NewSlot |
MethodAttributes
.Virtual |
MethodAttributes
.Final,
1452
_getRelationshipManager = typeBuilder.DefineMethod("get_RelationshipManager",
MethodAttributes
.Public |
MethodAttributes
.HideBySig |
MethodAttributes
.NewSlot |
MethodAttributes
.SpecialName |
MethodAttributes
.Virtual |
MethodAttributes
.Final,
1628
MethodAttributes
.Public |
MethodAttributes
.HideBySig |
MethodAttributes
.Virtual,
1662
MethodAttributes
constructorAttributes =
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.RTSpecialName;
1663
constructorAttributes |= _serializationConstructor.IsPublic?
MethodAttributes
.Public :
MethodAttributes
.Private;
System.Data.SqlXml (2)
System\Xml\Xsl\IlGen\XmlILModule.cs (2)
188
MethodAttributes
.Private |
MethodAttributes
.Static,
System.Drawing (3)
commonui\System\Drawing\ColorConverter.cs (3)
336
MethodAttributes
attrs =
MethodAttributes
.Public |
MethodAttributes
.Static;
System.Runtime.Remoting (3)
metadata\wsdlwriter.cs (3)
2387
MethodAttributes
ma = info.Attributes;
2389
bool bNewSlot = ((ma &
MethodAttributes
.NewSlot) ==
MethodAttributes
.NewSlot);
System.Runtime.Serialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
1098
return method.IsVirtual && ((method.Attributes &
MethodAttributes
.NewSlot) == 0);
System.ServiceModel (7)
System\ServiceModel\ComIntegration\EmitterCache.cs (6)
90
MethodAttributes
.Public |
MethodAttributes
.Virtual |
91
MethodAttributes
.Abstract |
MethodAttributes
.Abstract |
MethodAttributes
.HideBySig |
MethodAttributes
.NewSlot,
System\ServiceModel\Description\TypeLoader.cs (1)
1362
return method.IsVirtual && ((method.Attributes &
MethodAttributes
.NewSlot) == 0);
System.Web (6)
Util\FactoryGenerator.cs (2)
153
MethodAttributes
.Public |
154
MethodAttributes
.Virtual,
Util\FastPropertyAccessor.cs (4)
123
MethodAttributes
.Public |
124
MethodAttributes
.Virtual,
161
MethodAttributes
.Public |
162
MethodAttributes
.Virtual,
System.Web.Extensions (14)
UI\WebControls\Dynamic.cs (14)
342
MethodAttributes
.Public |
MethodAttributes
.SpecialName |
MethodAttributes
.HideBySig,
349
MethodAttributes
.Public |
MethodAttributes
.SpecialName |
MethodAttributes
.HideBySig,
365
MethodAttributes
.Public |
MethodAttributes
.ReuseSlot |
366
MethodAttributes
.Virtual |
MethodAttributes
.HideBySig,
400
MethodAttributes
.Public |
MethodAttributes
.ReuseSlot |
401
MethodAttributes
.Virtual |
MethodAttributes
.HideBySig,
System.Web.Mobile (2)
UI\MobileControls\FactoryGenerator.cs (2)
168
MethodAttributes
.Public |
169
MethodAttributes
.Virtual,
System.Workflow.Activities (6)
Rules\RuleValidation.cs (6)
211
public override
MethodAttributes
Attributes
213
get { return actualMethod.Attributes & ~
MethodAttributes
.Static; }
339
public override
MethodAttributes
Attributes
341
get { return actualMethod.Attributes & ~
MethodAttributes
.Static; }
666
public override
MethodAttributes
Attributes
668
get { return
MethodAttributes
.Static; }
System.Workflow.ComponentModel (24)
AuthoringOM\Compiler\TypeSystem\Helper.cs (13)
33
internal static
MethodAttributes
ConvertToMethodAttributes(MemberAttributes memberAttributes)
35
MethodAttributes
methodAttributes =
MethodAttributes
.ReuseSlot;
38
methodAttributes |=
MethodAttributes
.Assembly;
40
methodAttributes |=
MethodAttributes
.Family;
42
methodAttributes |=
MethodAttributes
.FamANDAssem;
44
methodAttributes |=
MethodAttributes
.FamORAssem;
46
methodAttributes |=
MethodAttributes
.Private;
48
methodAttributes |=
MethodAttributes
.Public;
52
methodAttributes |=
MethodAttributes
.Abstract;
54
methodAttributes |=
MethodAttributes
.Final;
56
methodAttributes |=
MethodAttributes
.Static;
62
methodAttributes |=
MethodAttributes
.NewSlot;
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (3)
76
public override
MethodAttributes
Attributes
237
public override
MethodAttributes
Attributes
241
return Helper.ConvertToMethodAttributes(this.methodInfo.Attributes) | (this.isSpecialName ?
MethodAttributes
.SpecialName : 0);
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (6)
76
if (nonPublic || ((this.getMethod != null) && ((this.getMethod.Attributes &
MethodAttributes
.Public) ==
MethodAttributes
.Public)))
90
if (nonPublic || ((this.setMethod != null) && ((this.setMethod.Attributes &
MethodAttributes
.Public) ==
MethodAttributes
.Public)))
346
public override
MethodAttributes
Attributes
351
MethodAttributes
.SpecialName);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (2)
812
public override
MethodAttributes
Attributes
1101
public override
MethodAttributes
Attributes
System.WorkflowServices (5)
System\Workflow\Activities\ContractMethodInfo.cs (5)
20
private
MethodAttributes
methodAttributes;
43
this.methodAttributes =
MethodAttributes
.Public |
44
MethodAttributes
.Abstract |
45
MethodAttributes
.Virtual;
91
public override
MethodAttributes
Attributes
System.Xml (34)
System\Xml\Serialization\CodeGenerator.cs (21)
40
internal static
MethodAttributes
PublicMethodAttributes =
MethodAttributes
.Public |
MethodAttributes
.HideBySig;
41
internal static
MethodAttributes
PublicOverrideMethodAttributes =
MethodAttributes
.Public |
MethodAttributes
.Virtual |
MethodAttributes
.HideBySig;
42
internal static
MethodAttributes
ProtectedOverrideMethodAttributes =
MethodAttributes
.Family |
MethodAttributes
.Virtual |
MethodAttributes
.HideBySig;
43
internal static
MethodAttributes
PrivateMethodAttributes =
MethodAttributes
.Private |
MethodAttributes
.HideBySig;
78
internal void BeginMethod(Type returnType, string methodName, Type[] argTypes, string[] argNames,
MethodAttributes
methodAttributes) {
81
InitILGeneration(argTypes, argNames, (methodBuilder.Attributes &
MethodAttributes
.Static) ==
MethodAttributes
.Static);
84
internal void BeginMethod(Type returnType, MethodBuilderInfo methodBuilderInfo, Type[] argTypes, string[] argNames,
MethodAttributes
methodAttributes) {
90
InitILGeneration(argTypes, argNames, (methodBuilder.Attributes &
MethodAttributes
.Static) ==
MethodAttributes
.Static);
2735
public void Validate(Type returnType, Type[] parameterTypes,
MethodAttributes
attributes) {
System\Xml\Serialization\XmlSerializationILGen.cs (10)
78
MethodAttributes
attributes, Type returnType, Type[] parameterTypes) {
146
CodeGenerator.PublicOverrideMethodAttributes |
MethodAttributes
.SpecialName);
288
MethodAttributes
.Family |
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName |
MethodAttributes
.RTSpecialName);
484
CodeGenerator.PublicOverrideMethodAttributes |
MethodAttributes
.SpecialName);
507
CodeGenerator.PublicOverrideMethodAttributes |
MethodAttributes
.SpecialName);
537
CodeGenerator.PublicMethodAttributes |
MethodAttributes
.RTSpecialName |
MethodAttributes
.SpecialName
System\Xml\Serialization\XmlSerializationReaderILGen.cs (3)
993
MethodAttributes
.Assembly |
MethodAttributes
.HideBySig |
MethodAttributes
.SpecialName);