public OverlayTypeDefinition(IWeakTypeDefinition backing, Overlay overlay) { if (overlay == null) { throw new ArgumentNullException(nameof(overlay)); } this.backing = backing ?? throw new ArgumentNullException(nameof(backing)); Scope = new OverlayedScope(backing.Scope, overlay); }
public OverlayGenericTypeDefinition(IWeakGenericTypeDefinition backing, Overlay overlay) { this.backing = backing ?? throw new ArgumentNullException(nameof(backing)); Scope = new OverlayedScope(backing.Scope, overlay); }