2 instantiations of JsonIncludeAttribute
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
877[JsonInclude]
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
877[JsonInclude]
5 references to JsonIncludeAttribute
System.Text.Json (5)
System\Text\Json\Serialization\Attributes\JsonIncludeAttribute.cs (1)
19/// Initializes a new instance of <see cref="JsonIncludeAttribute"/>.
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (2)
163bool hasJsonIncludeAttribute = propertyInfo.GetCustomAttribute<JsonIncludeAttribute>(inherit: false) != null; 183bool hasJsonIncludeAttribute = fieldInfo.GetCustomAttribute<JsonIncludeAttribute>(inherit: false) != null;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
1004/// Relevant to source generated metadata: did the property have the <see cref="JsonIncludeAttribute"/>?
System\Text\Json\Serialization\Metadata\JsonPropertyInfoValuesOfT.cs (1)
62/// Whether the property was annotated with <see cref="JsonIncludeAttribute"/>.