2 writes to SourceMappingsSortedByGenerated
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\RazorCSharpDocument.cs (2)
34SourceMappingsSortedByGenerated = sourceMappings.NullToEmpty(); 43SourceMappingsSortedByGenerated = SourceMappingsSortedByGenerated.Sort(static (m1, m2) => m1.GeneratedSpan.CompareByStartThenLength(m2.GeneratedSpan));
11 references to SourceMappingsSortedByGenerated
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\IntegrationTests\SourceMappingsSerializer.cs (1)
20foreach (var sourceMapping in csharpDocument.SourceMappingsSortedByGenerated)
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\RazorCSharpDocument.cs (5)
37for (var i = 0; i < SourceMappingsSortedByGenerated.Length - 1; i++) 39if (SourceMappingsSortedByGenerated[i].GeneratedSpan.CompareByStartThenLength(SourceMappingsSortedByGenerated[i + 1].GeneratedSpan) > 0) 43SourceMappingsSortedByGenerated = SourceMappingsSortedByGenerated.Sort(static (m1, m2) => m1.GeneratedSpan.CompareByStartThenLength(m2.GeneratedSpan)); 48SourceMappingsSortedByOriginal = SourceMappingsSortedByGenerated.Sort(static (m1, m2) => m1.OriginalSpan.CompareByStartThenLength(m2.OriginalSpan));
Microsoft.CodeAnalysis.Razor.Workspaces (4)
DocumentMapping\AbstractDocumentMappingService.cs (3)
121var sourceMappings = csharpDocument.SourceMappingsSortedByGenerated; 275var sourceMappings = csharpDocument.SourceMappingsSortedByGenerated; 345var sourceMappings = csharpDocument.SourceMappingsSortedByGenerated;
Formatting\Passes\CSharpFormattingPass.cs (1)
36context.Logger?.LogObject("SourceMappings", changedContext.CodeDocument.GetRequiredCSharpDocument().SourceMappingsSortedByGenerated);
Microsoft.CodeAnalysis.Remote.Razor (1)
DocumentMapping\RemoteSpanMappingService.cs (1)
145foreach (var mapping in csharpDocument.SourceMappingsSortedByGenerated)