34 references to JsonSourceGenerationOptionsAttribute
System.Text.Json.SourceGeneration (34)
JsonSourceGenerator.Parser.cs (27)
368
case nameof(
JsonSourceGenerationOptionsAttribute
.AllowOutOfOrderMetadataProperties):
372
case nameof(
JsonSourceGenerationOptionsAttribute
.AllowTrailingCommas):
376
case nameof(
JsonSourceGenerationOptionsAttribute
.Converters):
390
case nameof(
JsonSourceGenerationOptionsAttribute
.DefaultBufferSize):
394
case nameof(
JsonSourceGenerationOptionsAttribute
.DefaultIgnoreCondition):
398
case nameof(
JsonSourceGenerationOptionsAttribute
.DictionaryKeyPolicy):
402
case nameof(
JsonSourceGenerationOptionsAttribute
.RespectNullableAnnotations):
406
case nameof(
JsonSourceGenerationOptionsAttribute
.RespectRequiredConstructorParameters):
410
case nameof(
JsonSourceGenerationOptionsAttribute
.IgnoreReadOnlyFields):
414
case nameof(
JsonSourceGenerationOptionsAttribute
.IgnoreReadOnlyProperties):
418
case nameof(
JsonSourceGenerationOptionsAttribute
.IncludeFields):
422
case nameof(
JsonSourceGenerationOptionsAttribute
.MaxDepth):
426
case nameof(
JsonSourceGenerationOptionsAttribute
.NewLine):
430
case nameof(
JsonSourceGenerationOptionsAttribute
.NumberHandling):
434
case nameof(
JsonSourceGenerationOptionsAttribute
.PreferredObjectCreationHandling):
438
case nameof(
JsonSourceGenerationOptionsAttribute
.PropertyNameCaseInsensitive):
442
case nameof(
JsonSourceGenerationOptionsAttribute
.PropertyNamingPolicy):
446
case nameof(
JsonSourceGenerationOptionsAttribute
.ReadCommentHandling):
450
case nameof(
JsonSourceGenerationOptionsAttribute
.ReferenceHandler):
454
case nameof(
JsonSourceGenerationOptionsAttribute
.UnknownTypeHandling):
458
case nameof(
JsonSourceGenerationOptionsAttribute
.UnmappedMemberHandling):
462
case nameof(
JsonSourceGenerationOptionsAttribute
.UseStringEnumConverter):
466
case nameof(
JsonSourceGenerationOptionsAttribute
.WriteIndented):
470
case nameof(
JsonSourceGenerationOptionsAttribute
.IndentCharacter):
474
case nameof(
JsonSourceGenerationOptionsAttribute
.IndentSize):
478
case nameof(
JsonSourceGenerationOptionsAttribute
.GenerationMode):
482
case 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"/>.