16 writes to EndIndex
Microsoft.Extensions.AI.Abstractions (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (1)
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
Microsoft.Extensions.AI.Abstractions.Tests (6)
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 }],
Generated\361d1da7f942c932\TestJsonSerializerContext.TextSpanAnnotatedRegion.g.cs (1)
79Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (1)
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (1)
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (1)
81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
Microsoft.Extensions.AI.OpenAI (4)
OpenAIAssistantsChatClient.cs (1)
291AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = tau.StartIndex, EndIndex = tau.EndIndex }],
OpenAIChatClient.cs (1)
570AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = annotation.StartIndex, EndIndex = annotation.EndIndex }],
OpenAIResponsesChatClient.cs (2)
1764ca.AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = cfcma.StartIndex, EndIndex = cfcma.EndIndex }]; 1779ca.AnnotatedRegions = [new TextSpanAnnotatedRegion { StartIndex = ucma.StartIndex, EndIndex = ucma.EndIndex }];
Microsoft.Extensions.AI.Stabilization.Tests (1)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.TextSpanAnnotatedRegion.g.cs (1)
79Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
Microsoft.Extensions.AI.Tests (2)
Generated\361d1da7f942c932\CustomAIContentJsonContext.TextSpanAnnotatedRegion.g.cs (1)
79Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
Generated\361d1da7f942c932\TestJsonSerializerContext.TextSpanAnnotatedRegion.g.cs (1)
79Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex = value!,
21 references to EndIndex
Microsoft.Extensions.AI.Abstractions (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (2)
80Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 114int? __value_EndIndex = ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).EndIndex;
Microsoft.Extensions.AI.Abstractions.Tests (7)
Contents\AIAnnotationTests.cs (1)
68Assert.Equal(42, region.EndIndex);
Contents\CitationAnnotationTests.cs (2)
95Assert.Equal(42, region.EndIndex); 138Assert.Equal(25, textSpan.EndIndex);
Generated\361d1da7f942c932\TestJsonSerializerContext.TextSpanAnnotatedRegion.g.cs (2)
78Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 112int? __value_EndIndex = ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).EndIndex;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (2)
80Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 111global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).EndIndex, NullableInt32);
Microsoft.Extensions.AI.Evaluation.Reporting (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (2)
80Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 114int? __value_EndIndex = ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).EndIndex;
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextSpanAnnotatedRegion.g.cs (2)
80Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 114int? __value_EndIndex = ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).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);
Microsoft.Extensions.AI.Stabilization.Tests (2)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.TextSpanAnnotatedRegion.g.cs (2)
78Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 109global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).EndIndex, NullableInt32);
Microsoft.Extensions.AI.Tests (4)
Generated\361d1da7f942c932\CustomAIContentJsonContext.TextSpanAnnotatedRegion.g.cs (2)
78Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 109global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).EndIndex, NullableInt32);
Generated\361d1da7f942c932\TestJsonSerializerContext.TextSpanAnnotatedRegion.g.cs (2)
78Getter = static obj => ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)obj).EndIndex, 109global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.TextSpanAnnotatedRegion)value).EndIndex, NullableInt32);