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)
2048private void AddAssemblyAttributesToTable(IEnumerable<ICustomAttribute> assemblyAttributes, bool needsDummyParent, bool isSecurity)
2052foreach (ICustomAttribute customAttribute in assemblyAttributes)
2125protected virtual void AddCustomAttributesToTable(EntityHandle parentHandle, IEnumerable<ICustomAttribute> attributes)
2127foreach (var attr in attributes)
2133protected bool AddCustomAttributeToTable(EntityHandle parentHandle, ICustomAttribute customAttribute)
2179OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute> groupedSecurityAttributes = null;
2183groupedSecurityAttributes = groupedSecurityAttributes ?? OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute>.GetInstance();
3447private EmitContext GetEmitContextForAttribute(ICustomAttribute customAttribute)
3462private void SerializeCustomAttributeSignature(ICustomAttribute customAttribute, BlobBuilder builder)
3482private void SerializeCustomAttributeNamedArguments(in EmitContext context, NamedArgumentsEncoder encoder, ICustomAttribute customAttribute)
3741private void SerializePermissionSet(ImmutableArray<ICustomAttribute> permissionSet, BlobBuilder writer)
3744foreach (ICustomAttribute customAttribute in permissionSet)