7 writes to EndIndex
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\AIAnnotationTests.cs (2)
33List<AnnotatedRegion> regions = [new TextSpanAnnotatedRegion { StartIndex = 10, EndIndex = 42 }]; 49AnnotatedRegions = [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)
OpenAIAssistantsChatClient.cs (1)
246AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = tau.StartIndex, EndIndex = tau.EndIndex }],
OpenAIChatClient.cs (1)
508AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = annotation.StartIndex, EndIndex = annotation.EndIndex }],
OpenAIResponsesChatClient.cs (1)
638AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = ota.UriCitationStartIndex, EndIndex = ota.UriCitationEndIndex }],
4 references to EndIndex
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\AIAnnotationTests.cs (1)
69Assert.Equal(42, region.EndIndex);
Contents\CitationAnnotationTests.cs (1)
95Assert.Equal(42, region.EndIndex);
Microsoft.Extensions.AI.OpenAI (1)
MicrosoftExtensionsAIChatExtensions.cs (1)
101yield return OpenAIChatModelFactory.ChatMessageAnnotation(region.StartIndex ?? 0, region.EndIndex ?? 0, citation.Url, citation.Title);
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIResponseClientIntegrationTests.cs (1)
46Assert.NotNull(region.EndIndex);