34 references to JsonSourceGenerationOptionsAttribute
System.Text.Json.SourceGeneration (34)
JsonSourceGenerator.Parser.cs (27)
359case nameof(JsonSourceGenerationOptionsAttribute.AllowOutOfOrderMetadataProperties): 363case nameof(JsonSourceGenerationOptionsAttribute.AllowTrailingCommas): 367case nameof(JsonSourceGenerationOptionsAttribute.Converters): 381case nameof(JsonSourceGenerationOptionsAttribute.DefaultBufferSize): 385case nameof(JsonSourceGenerationOptionsAttribute.DefaultIgnoreCondition): 389case nameof(JsonSourceGenerationOptionsAttribute.DictionaryKeyPolicy): 393case nameof(JsonSourceGenerationOptionsAttribute.RespectNullableAnnotations): 397case nameof(JsonSourceGenerationOptionsAttribute.RespectRequiredConstructorParameters): 401case nameof(JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyFields): 405case nameof(JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyProperties): 409case nameof(JsonSourceGenerationOptionsAttribute.IncludeFields): 413case nameof(JsonSourceGenerationOptionsAttribute.MaxDepth): 417case nameof(JsonSourceGenerationOptionsAttribute.NewLine): 421case nameof(JsonSourceGenerationOptionsAttribute.NumberHandling): 425case nameof(JsonSourceGenerationOptionsAttribute.PreferredObjectCreationHandling): 429case nameof(JsonSourceGenerationOptionsAttribute.PropertyNameCaseInsensitive): 433case nameof(JsonSourceGenerationOptionsAttribute.PropertyNamingPolicy): 437case nameof(JsonSourceGenerationOptionsAttribute.ReadCommentHandling): 441case nameof(JsonSourceGenerationOptionsAttribute.ReferenceHandler): 445case nameof(JsonSourceGenerationOptionsAttribute.UnknownTypeHandling): 449case nameof(JsonSourceGenerationOptionsAttribute.UnmappedMemberHandling): 453case nameof(JsonSourceGenerationOptionsAttribute.UseStringEnumConverter): 457case nameof(JsonSourceGenerationOptionsAttribute.WriteIndented): 461case nameof(JsonSourceGenerationOptionsAttribute.IndentCharacter): 465case nameof(JsonSourceGenerationOptionsAttribute.IndentSize): 469case nameof(JsonSourceGenerationOptionsAttribute.GenerationMode): 473case nameof(JsonSourceGenerationOptionsAttribute.AllowDuplicateProperties):
Model\PropertyGenerationSpec.cs (1)
58/// specified ahead-of-time via <see cref="JsonSourceGenerationOptionsAttribute"/>.
Model\SourceGenerationOptionsSpec.cs (1)
10/// Models compile-time configuration of <see cref="JsonSourceGenerationOptionsAttribute"/>.
src\libraries\System.Text.Json\Common\JsonSerializableAttribute.cs (1)
42/// then the setting specified on <see cref="JsonSourceGenerationOptionsAttribute.GenerationMode"/> will be used.
src\libraries\System.Text.Json\Common\JsonSourceGenerationMode.cs (2)
13/// When specified on <see cref="JsonSourceGenerationOptionsAttribute.GenerationMode"/>, indicates that both type-metadata initialization logic 15/// indicates that the setting on <see cref="JsonSourceGenerationOptionsAttribute.GenerationMode"/> should be used.
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (2)
18/// Constructs a new <see cref="JsonSourceGenerationOptionsAttribute"/> instance. 23/// Constructs a new <see cref="JsonSourceGenerationOptionsAttribute"/> instance with a predefined set of options determined by the specified <see cref="JsonSerializerDefaults"/>.