3 instantiations of Range
Microsoft.CodeAnalysis.CodeStyle (3)
Range.cs (3)
63public static Range StartAt(Index start) => new Range(start, Index.End); 66public static Range EndAt(Index end) => new Range(Index.Start, end); 69public static Range All => new Range(Index.Start, Index.End);
7 references to Range
Microsoft.CodeAnalysis.CodeStyle (6)
Range.cs (6)
19internal readonly struct Range : IEquatable<Range> 39value is Range r && 45public bool Equals(Range other) => other.Start.Equals(Start) && other.End.Equals(End); 63public static Range StartAt(Index start) => new Range(start, Index.End); 66public static Range EndAt(Index end) => new Range(Index.Start, end); 69public static Range All => new Range(Index.Start, Index.End);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
57var rangeType = compilation.GetBestTypeByMetadataName(typeof(Range).FullName!);