34 references to JsonSourceGenerationOptionsAttribute
System.Text.Json.SourceGeneration (34)
JsonSourceGenerator.Parser.cs (27)
359
case nameof(
JsonSourceGenerationOptionsAttribute
.AllowOutOfOrderMetadataProperties):
363
case nameof(
JsonSourceGenerationOptionsAttribute
.AllowTrailingCommas):
367
case nameof(
JsonSourceGenerationOptionsAttribute
.Converters):
381
case nameof(
JsonSourceGenerationOptionsAttribute
.DefaultBufferSize):
385
case nameof(
JsonSourceGenerationOptionsAttribute
.DefaultIgnoreCondition):
389
case nameof(
JsonSourceGenerationOptionsAttribute
.DictionaryKeyPolicy):
393
case nameof(
JsonSourceGenerationOptionsAttribute
.RespectNullableAnnotations):
397
case nameof(
JsonSourceGenerationOptionsAttribute
.RespectRequiredConstructorParameters):
401
case nameof(
JsonSourceGenerationOptionsAttribute
.IgnoreReadOnlyFields):
405
case nameof(
JsonSourceGenerationOptionsAttribute
.IgnoreReadOnlyProperties):
409
case nameof(
JsonSourceGenerationOptionsAttribute
.IncludeFields):
413
case nameof(
JsonSourceGenerationOptionsAttribute
.MaxDepth):
417
case nameof(
JsonSourceGenerationOptionsAttribute
.NewLine):
421
case nameof(
JsonSourceGenerationOptionsAttribute
.NumberHandling):
425
case nameof(
JsonSourceGenerationOptionsAttribute
.PreferredObjectCreationHandling):
429
case nameof(
JsonSourceGenerationOptionsAttribute
.PropertyNameCaseInsensitive):
433
case nameof(
JsonSourceGenerationOptionsAttribute
.PropertyNamingPolicy):
437
case nameof(
JsonSourceGenerationOptionsAttribute
.ReadCommentHandling):
441
case nameof(
JsonSourceGenerationOptionsAttribute
.ReferenceHandler):
445
case nameof(
JsonSourceGenerationOptionsAttribute
.UnknownTypeHandling):
449
case nameof(
JsonSourceGenerationOptionsAttribute
.UnmappedMemberHandling):
453
case nameof(
JsonSourceGenerationOptionsAttribute
.UseStringEnumConverter):
457
case nameof(
JsonSourceGenerationOptionsAttribute
.WriteIndented):
461
case nameof(
JsonSourceGenerationOptionsAttribute
.IndentCharacter):
465
case nameof(
JsonSourceGenerationOptionsAttribute
.IndentSize):
469
case nameof(
JsonSourceGenerationOptionsAttribute
.GenerationMode):
473
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"/>.