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)
2061private void AddAssemblyAttributesToTable(IEnumerable<ICustomAttribute> assemblyAttributes, bool needsDummyParent, bool isSecurity)
2065foreach (ICustomAttribute customAttribute in assemblyAttributes)
2132protected virtual void AddCustomAttributesToTable(EntityHandle parentHandle, IEnumerable<ICustomAttribute> attributes)
2134foreach (var attr in attributes)
2140protected bool AddCustomAttributeToTable(EntityHandle parentHandle, ICustomAttribute customAttribute)
2186OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute> groupedSecurityAttributes = null;
2190groupedSecurityAttributes = groupedSecurityAttributes ?? OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute>.GetInstance();
3485private EmitContext GetEmitContextForAttribute(ICustomAttribute customAttribute)
3500private void SerializeCustomAttributeSignature(ICustomAttribute customAttribute, BlobBuilder builder)
3520private void SerializeCustomAttributeNamedArguments(in EmitContext context, NamedArgumentsEncoder encoder, ICustomAttribute customAttribute)
3779private void SerializePermissionSet(ImmutableArray<ICustomAttribute> permissionSet, BlobBuilder writer)
3782foreach (ICustomAttribute customAttribute in permissionSet)