5 writes to BaseValue
Microsoft.Extensions.AI.Abstractions.Tests (5)
test\Shared\JsonSchemaExporter\TestTypes.cs (5)
623Value: new PocoWithPolymorphism.DerivedPocoStringDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 625new PocoWithPolymorphism.DerivedPocoNoDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 626new PocoWithPolymorphism.DerivedPocoIntDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 627new PocoWithPolymorphism.DerivedCollection { BaseValue = 42 }, 628new PocoWithPolymorphism.DerivedDictionary { BaseValue = 42 },
11 references to BaseValue
Microsoft.Extensions.AI.Abstractions.Tests (11)
test\Shared\JsonSchemaExporter\TestTypes.cs (11)
1119public IEnumerator<int> GetEnumerator() => Enumerable.Repeat(BaseValue, 1).GetEnumerator(); 1125public int this[string key] => key == nameof(BaseValue) ? BaseValue : throw new KeyNotFoundException(); 1126public IEnumerable<string> Keys => [nameof(BaseValue)]; 1127public IEnumerable<int> Values => [BaseValue]; 1129public bool ContainsKey(string key) => key == nameof(BaseValue); 1130public bool TryGetValue(string key, out int value) => key == nameof(BaseValue) ? (value = BaseValue) == BaseValue : (value = 0) == 0; 1131public IEnumerator<KeyValuePair<string, int>> GetEnumerator() => Enumerable.Repeat(new KeyValuePair<string, int>(nameof(BaseValue), BaseValue), 1).GetEnumerator();