public EmberType(params Type[] types) { if (types == null) { throw new ArgumentNullException(nameof(types)); } if (types.Length == 0) { throw new ArgumentException("Length must not be 0.", nameof(types)); } this.types = types; }