5 references to JsonSerializableAttribute
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Parser.cs (2)
468case nameof(JsonSerializableAttribute.TypeInfoPropertyName): 471case nameof(JsonSerializableAttribute.GenerationMode):
src\libraries\System.Text.Json\Common\JsonSerializableAttribute.cs (1)
25/// Initializes a new instance of <see cref="JsonSerializableAttribute"/> with the specified type.
src\libraries\System.Text.Json\Common\JsonSourceGenerationMode.cs (1)
14/// and optimized serialization logic should be generated for all types. When specified on <see cref="JsonSerializableAttribute.GenerationMode"/>,
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
159/// Specifies the default source generation mode for type declarations that don't set a <see cref="JsonSerializableAttribute.GenerationMode"/>.