11 references to JsonSourceGenerationMode
System.Text.Json.SourceGeneration (11)
JsonSourceGenerator.Emitter.cs (1)
1514
private static bool IsGenerationModeSpecified(TypeGenerationSpec typeSpec,
JsonSourceGenerationMode
mode)
JsonSourceGenerator.Parser.cs (7)
207
private TypeRef EnqueueType(ITypeSymbol type,
JsonSourceGenerationMode
? generationMode)
263
JsonSourceGenerationMode
? generationMode = null;
412
generationMode = (
JsonSourceGenerationMode
)namedArg.Value.Value!;
461
JsonSourceGenerationMode
? generationMode = null;
472
generationMode = (
JsonSourceGenerationMode
)namedArg.Value.Value!;
985
JsonSourceGenerationMode
? generationMode,
1119
JsonSourceGenerationMode
? generationMode,
src\libraries\System.Text.Json\Common\JsonSerializableAttribute.cs (2)
41
/// Determines what the source generator should generate for the type. If the value is <see cref="
JsonSourceGenerationMode
.Default"/>,
44
public
JsonSourceGenerationMode
GenerationMode { get; set; }
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
161
public
JsonSourceGenerationMode
GenerationMode { get; set; }