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