33 references to JsonSourceGenerationOptionsAttribute
System.Text.Json.SourceGeneration (33)
JsonSourceGenerator.Parser.cs (26)
301
case nameof(
JsonSourceGenerationOptionsAttribute
.AllowOutOfOrderMetadataProperties):
305
case nameof(
JsonSourceGenerationOptionsAttribute
.AllowTrailingCommas):
309
case nameof(
JsonSourceGenerationOptionsAttribute
.Converters):
323
case nameof(
JsonSourceGenerationOptionsAttribute
.DefaultBufferSize):
327
case nameof(
JsonSourceGenerationOptionsAttribute
.DefaultIgnoreCondition):
331
case nameof(
JsonSourceGenerationOptionsAttribute
.DictionaryKeyPolicy):
335
case nameof(
JsonSourceGenerationOptionsAttribute
.RespectNullableAnnotations):
339
case nameof(
JsonSourceGenerationOptionsAttribute
.RespectRequiredConstructorParameters):
343
case nameof(
JsonSourceGenerationOptionsAttribute
.IgnoreReadOnlyFields):
347
case nameof(
JsonSourceGenerationOptionsAttribute
.IgnoreReadOnlyProperties):
351
case nameof(
JsonSourceGenerationOptionsAttribute
.IncludeFields):
355
case nameof(
JsonSourceGenerationOptionsAttribute
.MaxDepth):
359
case nameof(
JsonSourceGenerationOptionsAttribute
.NewLine):
363
case nameof(
JsonSourceGenerationOptionsAttribute
.NumberHandling):
367
case nameof(
JsonSourceGenerationOptionsAttribute
.PreferredObjectCreationHandling):
371
case nameof(
JsonSourceGenerationOptionsAttribute
.PropertyNameCaseInsensitive):
375
case nameof(
JsonSourceGenerationOptionsAttribute
.PropertyNamingPolicy):
379
case nameof(
JsonSourceGenerationOptionsAttribute
.ReadCommentHandling):
383
case nameof(
JsonSourceGenerationOptionsAttribute
.ReferenceHandler):
387
case nameof(
JsonSourceGenerationOptionsAttribute
.UnknownTypeHandling):
391
case nameof(
JsonSourceGenerationOptionsAttribute
.UnmappedMemberHandling):
395
case nameof(
JsonSourceGenerationOptionsAttribute
.UseStringEnumConverter):
399
case nameof(
JsonSourceGenerationOptionsAttribute
.WriteIndented):
403
case nameof(
JsonSourceGenerationOptionsAttribute
.IndentCharacter):
407
case nameof(
JsonSourceGenerationOptionsAttribute
.IndentSize):
411
case 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"/>.