21 instantiations of JsonInclude
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
897
[
JsonInclude
]
Microsoft.TemplateEngine.Cli (1)
Alias\AliasModel.cs (1)
20
[
JsonInclude
]
Microsoft.TemplateEngine.Edge (4)
BuiltInManagedProvider\GlobalSettingsData.cs (1)
19
[
JsonInclude
]
Settings\SettingsStore.cs (3)
76
[
JsonInclude
]
79
[
JsonInclude
]
82
[
JsonInclude
]
Microsoft.TemplateSearch.Common (13)
TemplateDiscoveryMetadata\PackToTemplateEntry.cs (5)
17
[
JsonInclude
]
20
[
JsonInclude
]
23
[
JsonInclude
]
26
[
JsonInclude
]
29
[
JsonInclude
]
TemplateDiscoveryMetadata\TemplateDiscoveryMetadata.cs (4)
25
[
JsonInclude
]
28
[
JsonInclude
]
31
[
JsonInclude
]
34
[
JsonInclude
]
TemplateDiscoveryMetadata\TemplateIdentificationEntry.cs (2)
17
[
JsonInclude
]
20
[
JsonInclude
]
TemplateSearchCache\TemplateSearchCache.cs (2)
26
[
JsonInclude
]
29
[
JsonInclude
]
NuGet.ProjectModel (1)
LockFile\AssetsLogMessage.cs (1)
28
[
JsonInclude
]
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
897
[
JsonInclude
]
5 references to JsonInclude
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)
198
bool hasJsonIncludeAttribute = propertyInfo.GetCustomAttribute<
JsonIncludeAttribute
>(inherit: false) != null;
220
bool hasJsonIncludeAttribute = fieldInfo.GetCustomAttribute<
JsonIncludeAttribute
>(inherit: false) != null;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
1025
/// 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
"/>.