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