13 instantiations of JsonConstructor
Aspire.Hosting (8)
Dcp\Model\Container.cs (1)
361
[
JsonConstructor
]
Dcp\Model\ContainerExec.cs (1)
111
[
JsonConstructor
]
Dcp\Model\Endpoint.cs (1)
35
[
JsonConstructor
]
Dcp\Model\Executable.cs (1)
187
[
JsonConstructor
]
Dcp\Model\ExecutableReplicaSet.cs (1)
94
[
JsonConstructor
]
Dcp\Model\ModelCommon.cs (1)
180
[
JsonConstructor
]
Dcp\Model\Network.cs (1)
82
[
JsonConstructor
]
Dcp\Model\Service.cs (1)
72
[
JsonConstructor
]
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationProperties.cs (1)
32
[
JsonConstructor
]
Microsoft.AspNetCore.Components.Authorization (1)
ClaimData.cs (1)
19
[
JsonConstructor
]
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
StringCopyPaste\StringCopyPasteContent.cs (1)
14
[method:
JsonConstructor
]
StringCopyPaste\StringCopyPasteData.cs (1)
23
[method:
JsonConstructor
]
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\Text\ImageElement.cs (1)
23
[
JsonConstructor
]
6 references to JsonConstructor
System.Text.Json (6)
System\ReflectionExtensions.cs (1)
47
=> constructorInfo.GetCustomAttribute<
JsonConstructorAttribute
>() != null;
System\Text\Json\Serialization\Attributes\JsonConstructorAttribute.cs (1)
14
/// Initializes a new instance of <see cref="
JsonConstructorAttribute
"/>.
System\Text\Json\Serialization\Converters\Object\ObjectConverterFactory.cs (1)
49
ThrowHelper.ThrowInvalidOperationException_SerializationDuplicateTypeAttribute<
JsonConstructorAttribute
>(typeToConvert);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
88
/// types with a single default constructor or default constructors annotated with <see cref="
JsonConstructorAttribute
"/>
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (1)
46
/// types with a single default constructor or default constructors annotated with <see cref="
JsonConstructorAttribute
"/>
System\Text\Json\ThrowHelper.Serialization.cs (1)
643
message = SR.Format(SR.DeserializeNoConstructor, nameof(
JsonConstructorAttribute
), type);