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