3 instantiations of ReflectableCustomAttribute
ILCompiler.Compiler (3)
Compiler\AnalysisBasedMetadataManager.cs (1)
254
return _parent._reflectableAttributes.Contains(new
ReflectableCustomAttribute
(module, caHandle));
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
137
dependencies.Add(new CombinedDependencyListEntry(factory.CustomAttributeMetadata(new
ReflectableCustomAttribute
(module, caHandle)), condition, "Attribute metadata"));
Compiler\UsageBasedMetadataManager.cs (1)
1042
return _factory.CustomAttributeMetadata(new
ReflectableCustomAttribute
(module, caHandle)).Marked;
16 references to ReflectableCustomAttribute
ILCompiler.Compiler (16)
Compiler\AnalysisBasedMetadataManager.cs (8)
32
private readonly HashSet<
ReflectableCustomAttribute
> _reflectableAttributes = new HashSet<
ReflectableCustomAttribute
>();
40
Array.Empty<ReflectableEntity<FieldDesc>>(), Array.Empty<
ReflectableCustomAttribute
>(),
59
IEnumerable<
ReflectableCustomAttribute
> reflectableAttributes,
94
foreach (
var
refAttribute in reflectableAttributes)
308
public struct ReflectableCustomAttribute : IEquatable<
ReflectableCustomAttribute
>
316
public bool Equals(
ReflectableCustomAttribute
other)
319
=> obj is
ReflectableCustomAttribute
other && Equals(other);
Compiler\DependencyAnalysis\CustomAttributeMetadataNode.cs (3)
18
private readonly
ReflectableCustomAttribute
_customAttribute;
20
public CustomAttributeMetadataNode(
ReflectableCustomAttribute
customAttribute)
25
public
ReflectableCustomAttribute
CustomAttribute => _customAttribute;
Compiler\DependencyAnalysis\NodeFactory.cs (3)
598
_customAttributesWithMetadata = new NodeCache<
ReflectableCustomAttribute
, CustomAttributeMetadataNode>(ca =>
1511
private NodeCache<
ReflectableCustomAttribute
, CustomAttributeMetadataNode> _customAttributesWithMetadata;
1513
internal CustomAttributeMetadataNode CustomAttributeMetadata(
ReflectableCustomAttribute
ca)
Compiler\UsageBasedMetadataManager.cs (2)
58
private readonly List<
ReflectableCustomAttribute
> _customAttributesWithMetadata = new List<
ReflectableCustomAttribute
>();