public Scope(ScopeData data) { _data = data; data.Enter(); }
public Scope(ScopeData data) { _data = data ?? throw new ArgumentNullException(nameof(data)); data.Enter(); }