7 writes to EndIndex
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\AIAnnotationTests.cs (2)
32List<AnnotatedRegion> regions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }]; 48AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }],
Contents\CitationAnnotationTests.cs (2)
42List<AnnotatedRegion> regions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }]; 75AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }],
Microsoft.Extensions.AI.OpenAI (3)
OpenAIChatClient.cs (1)
573AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = annotation.StartIndex, EndIndex = annotation.EndIndex }],
OpenAIResponsesChatClient.cs (2)
1767ca.AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = cfcma.StartIndex, EndIndex = cfcma.EndIndex }]; 1782ca.AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = ucma.StartIndex, EndIndex = ucma.EndIndex }];
5 references to EndIndex
Microsoft.Extensions.AI.Abstractions.Tests (3)
Contents\AIAnnotationTests.cs (1)
68Assert.Equal(42, region.EndIndex);
Contents\CitationAnnotationTests.cs (2)
95Assert.Equal(42, region.EndIndex); 138Assert.Equal(25, textSpan.EndIndex);
Microsoft.Extensions.AI.OpenAI (1)
MicrosoftExtensionsAIChatExtensions.cs (1)
114yield return OpenAIChatModelFactory.ChatMessageAnnotation(region.StartIndex ?? 0, region.EndIndex ?? 0, citation.Url, citation.Title);
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIResponseClientIntegrationTests.cs (1)
129Assert.NotNull(region.EndIndex);