PEWriter\MetadataWriter.cs (16)
439private readonly Dictionary<ICustomAttribute, BlobHandle> _customAttributeSignatureIndex = new Dictionary<ICustomAttribute, BlobHandle>();
708private BlobHandle GetCustomAttributeSignatureIndex(ICustomAttribute customAttribute)
1232private BlobHandle GetPermissionSetBlobHandle(ImmutableArray<ICustomAttribute> permissionSet)
2049private void AddAssemblyAttributesToTable(IEnumerable<ICustomAttribute> assemblyAttributes, bool needsDummyParent, bool isSecurity)
2053foreach (ICustomAttribute customAttribute in assemblyAttributes)
2126protected virtual void AddCustomAttributesToTable(EntityHandle parentHandle, IEnumerable<ICustomAttribute> attributes)
2128foreach (var attr in attributes)
2134protected bool AddCustomAttributeToTable(EntityHandle parentHandle, ICustomAttribute customAttribute)
2180OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute> groupedSecurityAttributes = null;
2184groupedSecurityAttributes = groupedSecurityAttributes ?? OrderPreservingMultiDictionary<DeclarativeSecurityAction, ICustomAttribute>.GetInstance();
3448private EmitContext GetEmitContextForAttribute(ICustomAttribute customAttribute)
3463private void SerializeCustomAttributeSignature(ICustomAttribute customAttribute, BlobBuilder builder)
3483private void SerializeCustomAttributeNamedArguments(in EmitContext context, NamedArgumentsEncoder encoder, ICustomAttribute customAttribute)
3742private void SerializePermissionSet(ImmutableArray<ICustomAttribute> permissionSet, BlobBuilder writer)
3745foreach (ICustomAttribute customAttribute in permissionSet)