10 writes to DerivedValue
Microsoft.Extensions.AI.Abstractions.Tests (10)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.DerivedAIContent.g.cs (1)
61
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.DerivedAIContent)obj).
DerivedValue
= value!,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.LeafContent.g.cs (1)
81
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.DerivedAIContent)obj).
DerivedValue
= value!,
Utilities\AIJsonUtilitiesTests.cs (8)
1240
AIContent c = new DerivedAIContent {
DerivedValue
= 42 };
1322
DerivedAIContent dc = new LeafContent {
DerivedValue
= 1, LeafValue = 42 };
1333
AIContent ac = new LeafContent {
DerivedValue
= 2, LeafValue = 99 };
1414
AIContent ac = new DerivedAIContent {
DerivedValue
= 1 };
1421
DerivedAIContent dc = new LeafContent {
DerivedValue
= 2, LeafValue = 42 };
1429
AIContent ac2 = new LeafContent {
DerivedValue
= 3, LeafValue = 99 };
1460
AIContent ac = new LeafContent {
DerivedValue
= 1, LeafValue = 42 };
1466
AIContent unregistered = new DerivedAIContent {
DerivedValue
= 99 };
7 references to DerivedValue
Microsoft.Extensions.AI.Abstractions.Tests (7)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.DerivedAIContent.g.cs (1)
60
Getter = static obj => ((global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.DerivedAIContent)obj).
DerivedValue
,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.LeafContent.g.cs (1)
80
Getter = static obj => ((global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.DerivedAIContent)obj).
DerivedValue
,
Utilities\AIJsonUtilitiesTests.cs (5)
1329
Assert.Equal(1, deserializedDc.
DerivedValue
);
1340
Assert.Equal(2, deserializedAc.
DerivedValue
);
1418
Assert.Equal(1, deserializedDc.
DerivedValue
);
1425
Assert.Equal(2, deserializedLeaf.
DerivedValue
);
1433
Assert.Equal(3, deserializedAc.
DerivedValue
);