30 references to JsonSourceGenerationOptionsAttribute
System.Text.Json.SourceGeneration (30)
JsonSourceGenerator.Parser.cs (23)
298case nameof(JsonSourceGenerationOptionsAttribute.AllowOutOfOrderMetadataProperties): 302case nameof(JsonSourceGenerationOptionsAttribute.AllowTrailingCommas): 306case nameof(JsonSourceGenerationOptionsAttribute.Converters): 320case nameof(JsonSourceGenerationOptionsAttribute.DefaultBufferSize): 324case nameof(JsonSourceGenerationOptionsAttribute.DefaultIgnoreCondition): 328case nameof(JsonSourceGenerationOptionsAttribute.DictionaryKeyPolicy): 332case nameof(JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyFields): 336case nameof(JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyProperties): 340case nameof(JsonSourceGenerationOptionsAttribute.IncludeFields): 344case nameof(JsonSourceGenerationOptionsAttribute.MaxDepth): 348case nameof(JsonSourceGenerationOptionsAttribute.NewLine): 352case nameof(JsonSourceGenerationOptionsAttribute.NumberHandling): 356case nameof(JsonSourceGenerationOptionsAttribute.PreferredObjectCreationHandling): 360case nameof(JsonSourceGenerationOptionsAttribute.PropertyNameCaseInsensitive): 364case nameof(JsonSourceGenerationOptionsAttribute.PropertyNamingPolicy): 368case nameof(JsonSourceGenerationOptionsAttribute.ReadCommentHandling): 372case nameof(JsonSourceGenerationOptionsAttribute.UnknownTypeHandling): 376case nameof(JsonSourceGenerationOptionsAttribute.UnmappedMemberHandling): 380case nameof(JsonSourceGenerationOptionsAttribute.UseStringEnumConverter): 384case nameof(JsonSourceGenerationOptionsAttribute.WriteIndented): 388case nameof(JsonSourceGenerationOptionsAttribute.IndentCharacter): 392case nameof(JsonSourceGenerationOptionsAttribute.IndentSize): 396case nameof(JsonSourceGenerationOptionsAttribute.GenerationMode):
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"/>.