1 instantiation of CustomAttributeEntity
ILAssembler (1)
EntityRegistry.cs (1)
1666
var entity = new
CustomAttributeEntity
(constructor, value);
35 references to CustomAttributeEntity
ILAssembler (35)
Actions\GrammarActions.BuildImage.cs (1)
843
var
customAttr = _entityRegistry.CreateCustomAttribute(ctor, attrValue);
Actions\GrammarActions.CustomAttributes.Actions.cs (8)
166
private EntityRegistry.
CustomAttributeEntity
MaterializeCustomAttribute(
172
EntityRegistry.
CustomAttributeEntity
attribute =
183
private EntityRegistry.
CustomAttributeEntity
? MaterializeCustomAttributeDeclaration(
198
EntityRegistry.
CustomAttributeEntity
typedefAttribute =
210
EntityRegistry.
CustomAttributeEntity
attribute = MaterializeCustomAttribute(descriptor, location);
214
internal EntityRegistry.
CustomAttributeEntity
? MaterializeCustomAttributeDeclaration(
218
internal EntityRegistry.
CustomAttributeEntity
MaterializeCustomAttributeDescriptor(
222
internal EntityRegistry.
CustomAttributeEntity
? MaterializeMethodBodyCustomAttributeDeclaration(
Actions\GrammarActions.Manifest.ExportedTypes.cs (5)
99
ImmutableArray<EntityRegistry.
CustomAttributeEntity
> customAttributes
123
foreach (EntityRegistry.
CustomAttributeEntity
attribute in customAttributes)
132
ImmutableArray<EntityRegistry.
CustomAttributeEntity
> CustomAttributes
138
ImmutableArray<EntityRegistry.
CustomAttributeEntity
>.Builder customAttributes =
139
ImmutableArray.CreateBuilder<EntityRegistry.
CustomAttributeEntity
>();
Actions\GrammarActions.Manifest.Resources.cs (5)
67
ImmutableArray<EntityRegistry.
CustomAttributeEntity
> customAttributes
95
foreach (EntityRegistry.
CustomAttributeEntity
customAttribute in customAttributes)
104
ImmutableArray<EntityRegistry.
CustomAttributeEntity
> CustomAttributes
110
ImmutableArray<EntityRegistry.
CustomAttributeEntity
>.Builder customAttributes =
111
ImmutableArray.CreateBuilder<EntityRegistry.
CustomAttributeEntity
>();
Actions\GrammarActions.Manifest.Typedefs.cs (1)
57
EntityRegistry.
CustomAttributeEntity
attribute =
Actions\GrammarActions.MethodBodies.Directives.cs (3)
296
EntityRegistry.
CustomAttributeEntity
? attribute =
353
EntityRegistry.
CustomAttributeEntity
? attribute =
395
EntityRegistry.
CustomAttributeEntity
? attribute = MaterializeMethodBodyCustomAttributeDeclaration(context);
EntityRegistry.cs (6)
509
foreach (
CustomAttributeEntity
customAttr in GetSeenEntities(TableIndex.CustomAttribute))
1664
public
CustomAttributeEntity
CreateCustomAttribute(EntityBase constructor, BlobBuilder value)
1666
var
entity = new CustomAttributeEntity(constructor, value);
1680
public void RemoveCustomAttributes(IReadOnlyCollection<
CustomAttributeEntity
> toRemove)
1687
var removeSet = new HashSet<
CustomAttributeEntity
>(toRemove);
1688
entities.RemoveAll(entity => entity is
CustomAttributeEntity
customAttribute && removeSet.Contains(customAttribute));
PseudoCustomAttributes.cs (6)
27
var attributes = new List<EntityRegistry.
CustomAttributeEntity
>();
30
if (entity is EntityRegistry.
CustomAttributeEntity
attribute)
41
var lowered = new List<EntityRegistry.
CustomAttributeEntity
>();
42
foreach (
var
attribute in attributes)
73
EntityRegistry.
CustomAttributeEntity
attribute,
78
public EntityRegistry.
CustomAttributeEntity
Attribute { get; } = attribute;