4 references to OneOrMany
Microsoft.CodeAnalysis.Workspaces (4)
OneOrMany.cs (4)
22
public static readonly OneOrMany<T> Empty = new
OneOrMany
<T>(ImmutableArray<T>.Empty);
87
return new
OneOrMany
<T>(builder.ToImmutableAndFree());
125
return builder.Count == Count ? this : new
OneOrMany
<T>(builder.ToImmutableAndFree());
208
=> new
OneOrMany
<T>(many);