18 writes to Ranges
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\SpellCheck\DocumentSpellCheckHandler.cs (1)
20
Ranges
= ranges,
Handler\SpellCheck\WorkspaceSpellCheckHandler.cs (1)
22
Ranges
= ranges,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (15)
SpellCheck\SpellCheckTests.cs (15)
69
Ranges
= GetRanges(testDocument.AnnotatedSpans),
104
Ranges
= [.. allRanges.Skip(3 * i * 1000).Take(3 * 1000)],
135
Ranges
= GetRanges(workspace.Documents.Single().AnnotatedSpans),
170
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.Single().AnnotatedSpans),
205
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.Single().AnnotatedSpans),
228
Ranges
= GetRanges(annotatedSpans),
253
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.Single().AnnotatedSpans),
293
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.Single().AnnotatedSpans),
319
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.Single().AnnotatedSpans),
349
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.First().AnnotatedSpans),
429
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.First().AnnotatedSpans),
469
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.First().AnnotatedSpans),
507
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.First().AnnotatedSpans),
533
Ranges
= GetRanges(annotatedSpans),
563
Ranges
= GetRanges(testLspServer.TestWorkspace.Documents.First().AnnotatedSpans),
Microsoft.VisualStudio.LanguageServices.Razor (1)
LanguageClient\Cohost\CohostDocumentSpellCheckEndpoint.cs (1)
65
Ranges
= data,
17 references to Ranges
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Internal\VSInternalSpellCheckableRangeReport.cs (2)
30
/// 1. <see cref="
Ranges
"/> property can contain multiple spans to spell check.
31
/// 2. Each span is defined by a set of 3 ordered integers in the <see cref="
Ranges
"/> property.
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (14)
SpellCheck\SpellCheckTests.cs (14)
144
Assert.Null(results.Single().
Ranges
);
177
Assert.Null(results.Single().
Ranges
);
351
AssertEx.Empty(results[1].
Ranges
);
431
AssertEx.Empty(results[1].
Ranges
);
439
Assert.Null(results2[0].
Ranges
);
443
AssertEx.Empty(results[1].
Ranges
);
471
AssertEx.Empty(results[1].
Ranges
);
476
Assert.Null(results2[0].
Ranges
);
477
Assert.Null(results2[1].
Ranges
);
509
AssertEx.Empty(results[1].
Ranges
);
535
Assert.Null(results2[1].
Ranges
);
565
AssertEx.Empty(results[1].
Ranges
);
570
Assert.Null(results[0].
Ranges
);
571
Assert.Null(results[1].
Ranges
);
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
Cohost\CohostDocumentSpellCheckEndpointTest.cs (1)
101
var ranges = result.First().
Ranges
.AssumeNotNull();