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