26 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]
Microsoft.Extensions.AI.Abstractions (11)
ChatCompletion\ChatCompletion.cs (1)
20[JsonConstructor]
ChatCompletion\ChatFinishReason.cs (1)
24[JsonConstructor]
ChatCompletion\ChatMessage.cs (1)
18[JsonConstructor]
ChatCompletion\ChatResponseFormatJson.cs (1)
19[JsonConstructor]
ChatCompletion\ChatRole.cs (1)
43[JsonConstructor]
Contents\AudioContent.cs (1)
30[JsonConstructor]
Contents\DataContent.cs (1)
59[JsonConstructor]
Contents\FunctionCallContent.cs (1)
25[JsonConstructor]
Contents\FunctionResultContent.cs (1)
28[JsonConstructor]
Contents\ImageContent.cs (1)
30[JsonConstructor]
Contents\UsageContent.cs (1)
27[JsonConstructor]
Roslyn.VisualStudio.Next.UnitTests (2)
UnifiedSettings\TestModel\AlternativeDefault.cs (1)
20[JsonConstructor]
UnifiedSettings\TestModel\Input.cs (1)
22[JsonConstructor]
8 references to JsonConstructor
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.ReflectionHelpers.cs (1)
397constructorInfo.GetCustomAttribute<JsonConstructorAttribute>() != null;
Shared (1)
JsonSchemaExporter\JsonSchemaExporter.ReflectionHelpers.cs (1)
397constructorInfo.GetCustomAttribute<JsonConstructorAttribute>() != null;
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)
49ThrowHelper.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)
643message = SR.Format(SR.DeserializeNoConstructor, nameof(JsonConstructorAttribute), type);