36 references to MethodDefTreatment
System.Reflection.Metadata (36)
System\Reflection\Metadata\MetadataReader.WinMD.cs (18)
392
MethodDefTreatment
treatment =
MethodDefTreatment
.Implementation;
401
treatment =
MethodDefTreatment
.Implementation;
405
treatment =
MethodDefTreatment
.Implementation;
409
treatment =
MethodDefTreatment
.InterfaceMethod;
413
treatment =
MethodDefTreatment
.Implementation;
417
treatment =
MethodDefTreatment
.Other;
425
treatment =
MethodDefTreatment
.AttributeMethod;
429
treatment =
MethodDefTreatment
.DelegateMethod |
MethodDefTreatment
.MarkPublicFlag;
436
if (treatment ==
MethodDefTreatment
.Other)
482
treatment =
MethodDefTreatment
.DisposeMethod;
487
treatment =
MethodDefTreatment
.HiddenInterfaceImplementation;
493
if (treatment ==
MethodDefTreatment
.Other)
501
private
MethodDefTreatment
GetMethodTreatmentFromCustomAttributes(MethodDefinitionHandle methodDef)
503
MethodDefTreatment
treatment = 0;
519
treatment |=
MethodDefTreatment
.MarkPublicFlag;
524
treatment |=
MethodDefTreatment
.MarkAbstractFlag;
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (2)
35
private
MethodDefTreatment
Treatment
37
get { return (
MethodDefTreatment
)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }
System\Reflection\Metadata\TypeSystem\MethodDefinition.cs (16)
30
private
MethodDefTreatment
Treatment
32
get { return (
MethodDefTreatment
)(_treatmentAndRowId >> TokenTypeIds.RowIdBitCount); }
152
if ((Treatment &
MethodDefTreatment
.KindMask) ==
MethodDefTreatment
.DisposeMethod)
163
MethodDefTreatment
treatment = Treatment;
165
if ((treatment &
MethodDefTreatment
.KindMask) ==
MethodDefTreatment
.HiddenInterfaceImplementation)
170
if ((treatment &
MethodDefTreatment
.MarkAbstractFlag) != 0)
175
if ((treatment &
MethodDefTreatment
.MarkPublicFlag) != 0)
188
switch (Treatment &
MethodDefTreatment
.KindMask)
190
case
MethodDefTreatment
.DelegateMethod:
194
case
MethodDefTreatment
.DisposeMethod:
195
case
MethodDefTreatment
.AttributeMethod:
196
case
MethodDefTreatment
.InterfaceMethod:
197
case
MethodDefTreatment
.HiddenInterfaceImplementation:
198
case
MethodDefTreatment
.Other: