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)
2065private void AddAssemblyAttributesToTable(IEnumerable<ICustomAttribute> assemblyAttributes, bool needsDummyParent, bool isSecurity)
2069foreach (ICustomAttribute customAttribute in assemblyAttributes)
2136protected virtual void AddCustomAttributesToTable(EntityHandle parentHandle, IEnumerable<ICustomAttribute> attributes)
2138foreach (var attr in attributes)
2144protected bool AddCustomAttributeToTable(EntityHandle parentHandle, ICustomAttribute customAttribute)
2190OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute> groupedSecurityAttributes = null;
2194groupedSecurityAttributes = groupedSecurityAttributes ?? OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute>.GetInstance();
3495private EmitContext GetEmitContextForAttribute(ICustomAttribute customAttribute)
3510private void SerializeCustomAttributeSignature(ICustomAttribute customAttribute, BlobBuilder builder)
3530private void SerializeCustomAttributeNamedArguments(in EmitContext context, NamedArgumentsEncoder encoder, ICustomAttribute customAttribute)
3789private void SerializePermissionSet(ImmutableArray<ICustomAttribute> permissionSet, BlobBuilder writer)
3792foreach (ICustomAttribute customAttribute in permissionSet)