public IPythonUnionType Add(IPythonUnionType types) { lock (_lock) { _types.UnionWith(types.Where(t => !this.Equals(t))); return(this); } }
public IPythonUnionType Add(IPythonUnionType types) { lock (_lock) { _types.UnionWith(types); return(this); } }
public PythonUnion(IPythonUnionType unionType, LocationInfo location = null) : base(unionType, location) { }
public IPythonUnionType Add(IPythonUnionType types) => this;
public PythonUnion(IPythonUnionType unionType) : base(unionType) { }