30 references to Attributes
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.Method.cs (1)
218return methodDef.Attributes;
ILCompiler.ReadyToRun (5)
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (5)
193if (methodDef.Attributes.HasFlag(System.Reflection.MethodAttributes.Abstract)) 218if (!methodDef.Attributes.HasFlag(MethodAttributes.Static) && method.IsAbstract) 229if (methodDef.Attributes.HasFlag(MethodAttributes.RTSpecialName)) 247if (methodDef.Attributes.HasFlag(MethodAttributes.Static) && !type.IsInterface) 269if (type.Module.GetGlobalModuleType() == type && !methodDef.Attributes.HasFlag(MethodAttributes.Static))
ILCompiler.TypeSystem (4)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
388return MetadataReader.GetMethodDefinition(_handle).Attributes;
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaType.cs (3)
305if ((methodDef.Attributes & MethodAttributes.Virtual) != 0) 363if (methodDefinition.Attributes.IsRuntimeSpecialName() && 385MethodAttributes attributes = methodDefinition.Attributes;
Microsoft.CodeAnalysis (2)
MetadataReader\PEModule.cs (2)
3376return MetadataReader.GetMethodDefinition(methodDef).Attributes; 3408flags = methodRow.Attributes;
Microsoft.CodeAnalysis.Workspaces (13)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (13)
468return (method.Attributes & MethodAttributes.MemberAccessMask) == MethodAttributes.Public; 481if ((method.Attributes & MethodAttributes.SpecialName) != 0 || 482(method.Attributes & MethodAttributes.RTSpecialName) != 0 || 483(method.Attributes & MethodAttributes.MemberAccessMask) != MethodAttributes.Public || 484(method.Attributes & MethodAttributes.Static) == 0 || 526if ((method.Attributes & MethodAttributes.SpecialName) != 0 || 527(method.Attributes & MethodAttributes.RTSpecialName) != 0 || 528(method.Attributes & MethodAttributes.MemberAccessMask) != MethodAttributes.Public) 536(method.Attributes & MethodAttributes.Static) == 0) 625if ((method.Attributes & MethodAttributes.SpecialName) == 0 && 626(method.Attributes & MethodAttributes.RTSpecialName) == 0) 635if ((method.Attributes & MethodAttributes.MemberAccessMask) != MethodAttributes.Public || 636(method.Attributes & MethodAttributes.Static) == 0 ||
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
1315return (methodDef.Attributes & MethodAttributes.Abstract) != 0;
Microsoft.Diagnostics.DataContractReader.Legacy (1)
MetaDataImportImpl.cs (1)
536*pdwAttr = (uint)methodDef.Attributes;
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\Events\Ecma\EcmaEvent.cs (1)
72if (nonPublic || (def.Attributes & MethodAttributes.MemberAccessMask) == MethodAttributes.Public)
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (1)
103if ((method.Attributes & (MethodAttributes.RTSpecialName | MethodAttributes.SpecialName)) != (MethodAttributes.RTSpecialName | MethodAttributes.SpecialName))
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
47public MethodAttributes ComputeAttributes() => MethodDefinition.Attributes;