PEWriter\MetadataWriter.cs (16)
438private readonly Dictionary<ICustomAttribute, BlobHandle> _customAttributeSignatureIndex = new Dictionary<ICustomAttribute, BlobHandle>();
707private BlobHandle GetCustomAttributeSignatureIndex(ICustomAttribute customAttribute)
1231private BlobHandle GetPermissionSetBlobHandle(ImmutableArray<ICustomAttribute> permissionSet)
2054private void AddAssemblyAttributesToTable(IEnumerable<ICustomAttribute> assemblyAttributes, bool needsDummyParent, bool isSecurity)
2058foreach (ICustomAttribute customAttribute in assemblyAttributes)
2131protected virtual void AddCustomAttributesToTable(EntityHandle parentHandle, IEnumerable<ICustomAttribute> attributes)
2133foreach (var attr in attributes)
2139protected bool AddCustomAttributeToTable(EntityHandle parentHandle, ICustomAttribute customAttribute)
2185OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute> groupedSecurityAttributes = null;
2189groupedSecurityAttributes = groupedSecurityAttributes ?? OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute>.GetInstance();
3460private EmitContext GetEmitContextForAttribute(ICustomAttribute customAttribute)
3475private void SerializeCustomAttributeSignature(ICustomAttribute customAttribute, BlobBuilder builder)
3495private void SerializeCustomAttributeNamedArguments(in EmitContext context, NamedArgumentsEncoder encoder, ICustomAttribute customAttribute)
3754private void SerializePermissionSet(ImmutableArray<ICustomAttribute> permissionSet, BlobBuilder writer)
3757foreach (ICustomAttribute customAttribute in permissionSet)