PEWriter\MetadataWriter.cs (16)
434private readonly Dictionary<ICustomAttribute, BlobHandle> _customAttributeSignatureIndex = new Dictionary<ICustomAttribute, BlobHandle>();
702private BlobHandle GetCustomAttributeSignatureIndex(ICustomAttribute customAttribute)
1232private BlobHandle GetPermissionSetBlobHandle(ImmutableArray<ICustomAttribute> permissionSet)
2040private void AddAssemblyAttributesToTable(IEnumerable<ICustomAttribute> assemblyAttributes, bool needsDummyParent, bool isSecurity)
2044foreach (ICustomAttribute customAttribute in assemblyAttributes)
2105protected virtual int AddCustomAttributesToTable(EntityHandle parentHandle, IEnumerable<ICustomAttribute> attributes)
2108foreach (var attr in attributes)
2116private void AddCustomAttributeToTable(EntityHandle parentHandle, ICustomAttribute customAttribute)
2159OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute> groupedSecurityAttributes = null;
2163groupedSecurityAttributes = groupedSecurityAttributes ?? OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute>.GetInstance();
3398private EmitContext GetEmitContextForAttribute(ICustomAttribute customAttribute)
3413private void SerializeCustomAttributeSignature(ICustomAttribute customAttribute, BlobBuilder builder)
3433private void SerializeCustomAttributeNamedArguments(in EmitContext context, NamedArgumentsEncoder encoder, ICustomAttribute customAttribute)
3692private void SerializePermissionSet(ImmutableArray<ICustomAttribute> permissionSet, BlobBuilder writer)
3695foreach (ICustomAttribute customAttribute in permissionSet)