19 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (19)
JsonSourceGenerator.Emitter.cs (19)
858IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 859IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 860IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 866HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 867IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 1457HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 1459IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1482IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1975writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 1978writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 1981writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 2023writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 2026writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 2029writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 2032writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 2035writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 2050writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 2068writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},"); 2266source.AppendLine($" IgnoreUnrecognizedTypeDiscriminators = {FormatBoolLiteral(options.IgnoreUnrecognizedTypeDiscriminators)},");