3 instantiations of Range
Microsoft.CodeAnalysis.Contracts.Package (3)
Range.cs (3)
69
public static Range StartAt(Index start) => new
Range
(start, Index.End);
72
public static Range EndAt(Index end) => new
Range
(Index.Start, end);
75
public static Range All => new
Range
(Index.Start, Index.End);
6 references to Range
Microsoft.CodeAnalysis.Contracts.Package (6)
Range.cs (6)
27
internal readonly struct Range : IEquatable<
Range
>
47
value is
Range
r &&
53
public bool Equals(
Range
other) => other.Start.Equals(Start) && other.End.Equals(End);
69
public static
Range
StartAt(Index start) => new Range(start, Index.End);
72
public static
Range
EndAt(Index end) => new Range(Index.Start, end);
75
public static
Range
All => new Range(Index.Start, Index.End);