/// <summary> /// Constructor /// </summary> /// <param name="kind">Alias kind</param> /// <param name="type">Alias type</param> /// <param name="id">Alias id</param> /// <param name="customTypeInfoId">Custom type info ID</param> /// <param name="customTypeInfo">Custom type info understood by the EE or null</param> public DbgDotNetAliasInfo(DbgDotNetAliasInfoKind kind, DmdType type, uint id, Guid customTypeInfoId, ReadOnlyCollection <byte> customTypeInfo) { Kind = kind; Type = type ?? throw new ArgumentNullException(nameof(type)); Id = id; CustomTypeInfoId = customTypeInfoId; CustomTypeInfo = customTypeInfo; }
/// <summary> /// Constructor /// </summary> /// <param name="kind">Alias kind</param> /// <param name="type">Alias type</param> /// <param name="id">Alias id</param> public DbgDotNetAliasInfo(DbgDotNetAliasInfoKind kind, DmdType type, uint id) { Kind = kind; Type = type ?? throw new ArgumentNullException(nameof(type)); Id = id; }