1 instantiation of CustomAttribute
System.Reflection.Metadata (1)
System\Reflection\Metadata\MetadataReader.cs (1)
1181return new CustomAttribute(this, GetCustomAttributeTreatmentAndRowId(handle));
36 references to CustomAttribute
ILCompiler.Compiler (5)
Compiler\AssemblyExtensions.cs (1)
24CustomAttribute attr = reader.GetCustomAttribute(attrHandle);
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
108CustomAttribute attribute = reader.GetCustomAttribute(caHandle);
Compiler\DependencyAnalysis\PInvokeMethodFixupNode.cs (1)
149var attr = asm.MetadataReader.GetCustomAttribute(attrHandle);
Compiler\UnmanagedEntryPointsRootProvider.cs (1)
36CustomAttribute ca = reader.GetCustomAttribute(caHandle);
src\runtime\src\coreclr\tools\Common\Compiler\TypeMapMetadata.cs (1)
308CustomAttribute attr = currentAssembly.MetadataReader.GetCustomAttribute(attrHandle);
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
39Ecma.CustomAttribute attribute = reader.GetCustomAttribute(attributeHandle);
ILCompiler.ReadyToRun (4)
Compiler\AssemblyExtensions.cs (1)
28CustomAttribute attribute = reader.GetCustomAttribute(attributeHandle);
Compiler\DependencyAnalysis\ReadyToRun\AttributePresenceFilterNode.cs (1)
49CustomAttribute customAttribute = reader.GetCustomAttribute(handle);
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
623var customAttribute = metadataReader.GetCustomAttribute(attributeHandle);
src\runtime\src\coreclr\tools\Common\Compiler\TypeMapMetadata.cs (1)
308CustomAttribute attr = currentAssembly.MetadataReader.GetCustomAttribute(attrHandle);
ILCompiler.TypeSystem (4)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
532CustomAttribute attribute = reader.GetCustomAttribute(attributeHandle);
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaType.cs (2)
547var attr = MetadataReader.GetCustomAttribute(MetadataReader.GetCustomAttributeHandle(_typeDefinition.GetCustomAttributes(), 574var attr = MetadataReader.GetCustomAttribute(attrHandle);
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
618private static SetTargetResult DecodeUnsafeAccessorType(EcmaMethod method, CustomAttribute unsafeAccessorTypeAttribute, out TypeDesc replacementType)
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\AssemblyInformation.cs (2)
461var attr = metadataReader.GetCustomAttribute(attrHandle); 548private static List<string> GetFixedStringArguments(MetadataReader reader, CustomAttribute attribute)
Microsoft.Diagnostics.DataContractReader.Legacy (1)
MetaDataImportImpl.cs (1)
968CustomAttribute ca = _reader.GetCustomAttribute(caHandle);
Microsoft.NET.HostModel (6)
ComHost\ClsidMap.cs (6)
146CustomAttribute comVisibleAttribute = reader.GetCustomAttribute(handle); 162CustomAttribute comVisibleAttribute = metadataReader.GetCustomAttribute(handle); 179CustomAttribute attribute = reader.GetCustomAttribute(attr); 194CustomAttribute attribute = reader.GetCustomAttribute(attr); 208CustomAttribute attribute = reader.GetCustomAttribute(attr); 218private static bool IsTargetAttribute(MetadataReader reader, CustomAttribute attribute, string targetNamespace, string targetName)
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\MetadataReaderHelper.cs (1)
84var customAttribute = metadataReader.GetCustomAttribute(customAttributeHandle);
System.Diagnostics.FileVersionInfo (3)
System\Diagnostics\FileVersionInfo.Unix.cs (3)
127CustomAttribute attr = metadataReader.GetCustomAttribute(attrHandle); 254private static bool TryGetAttributeName(MetadataReader reader, CustomAttribute attr, out StringHandle typeNamespaceHandle, out StringHandle typeNameHandle) 288private static void GetStringAttributeArgumentValue(MetadataReader reader, CustomAttribute attr, ref string? value)
System.Reflection.Metadata (1)
System\Reflection\Metadata\MetadataReader.cs (1)
1178public CustomAttribute GetCustomAttribute(CustomAttributeHandle handle)
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (2)
103private ref readonly CustomAttribute CustomAttribute { get { Loader.DisposeCheck(); return ref _neverAccessThisExceptThroughCustomAttributeProperty; } } 105private readonly CustomAttribute _neverAccessThisExceptThroughCustomAttributeProperty;
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (2)
48CustomAttribute ca = handle.GetCustomAttribute(reader); 80public static EntityHandle TryGetDeclaringTypeHandle(this in CustomAttribute ca, MetadataReader reader)
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (1)
85CustomAttribute ca = handle.GetCustomAttribute(reader);
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
20public static CustomAttribute GetCustomAttribute(this CustomAttributeHandle handle, MetadataReader reader) => reader.GetCustomAttribute(handle);
vstest.console (1)
CommandLine\AssemblyMetadataProvider.cs (1)
138var attr = metadataReader.GetCustomAttribute(customAttributeHandle);
vstest.console.arm64 (1)
src\vstest\src\vstest.console\CommandLine\AssemblyMetadataProvider.cs (1)
138var attr = metadataReader.GetCustomAttribute(customAttributeHandle);