5 writes to BaseValue
Microsoft.Extensions.AI.Abstractions.Tests (5)
test\Shared\JsonSchemaExporter\TestTypes.cs (5)
611Value: new PocoWithPolymorphism.DerivedPocoStringDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 613new PocoWithPolymorphism.DerivedPocoNoDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 614new PocoWithPolymorphism.DerivedPocoIntDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 615new PocoWithPolymorphism.DerivedCollection { BaseValue = 42 }, 616new PocoWithPolymorphism.DerivedDictionary { BaseValue = 42 },
11 references to BaseValue
Microsoft.Extensions.AI.Abstractions.Tests (11)
test\Shared\JsonSchemaExporter\TestTypes.cs (11)
1107public IEnumerator<int> GetEnumerator() => Enumerable.Repeat(BaseValue, 1).GetEnumerator(); 1113public int this[string key] => key == nameof(BaseValue) ? BaseValue : throw new KeyNotFoundException(); 1114public IEnumerable<string> Keys => [nameof(BaseValue)]; 1115public IEnumerable<int> Values => [BaseValue]; 1117public bool ContainsKey(string key) => key == nameof(BaseValue); 1118public bool TryGetValue(string key, out int value) => key == nameof(BaseValue) ? (value = BaseValue) == BaseValue : (value = 0) == 0; 1119public IEnumerator<KeyValuePair<string, int>> GetEnumerator() => Enumerable.Repeat(new KeyValuePair<string, int>(nameof(BaseValue), BaseValue), 1).GetEnumerator();