11 references to JsonSourceGenerationMode
System.Text.Json.SourceGeneration (11)
JsonSourceGenerator.Emitter.cs (1)
1514private static bool IsGenerationModeSpecified(TypeGenerationSpec typeSpec, JsonSourceGenerationMode mode)
JsonSourceGenerator.Parser.cs (7)
207private TypeRef EnqueueType(ITypeSymbol type, JsonSourceGenerationMode? generationMode) 263JsonSourceGenerationMode? generationMode = null; 412generationMode = (JsonSourceGenerationMode)namedArg.Value.Value!; 461JsonSourceGenerationMode? generationMode = null; 472generationMode = (JsonSourceGenerationMode)namedArg.Value.Value!; 985JsonSourceGenerationMode? generationMode, 1119JsonSourceGenerationMode? 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"/>, 44public JsonSourceGenerationMode GenerationMode { get; set; }
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
161public JsonSourceGenerationMode GenerationMode { get; set; }