4 references to GetSpan
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (4)
82Math.Min(LeadingTrivia.Length == 0 ? int.MaxValue : LeadingTrivia[0].GetSpan().Start, 84TrailingTrivia.Length == 0 ? int.MaxValue : TrailingTrivia[0].GetSpan().Start)); 87Math.Max(LeadingTrivia.Length == 0 ? int.MinValue : LeadingTrivia[^1].GetSpan().End, 89TrailingTrivia.Length == 0 ? int.MinValue : TrailingTrivia[^1].GetSpan().End));