18 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (18)
JsonSourceGenerator.Emitter.cs (18)
677IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 678IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 679IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 685HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 686IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 759HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 761IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 784IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1256writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 1259writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 1262writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 1289writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 1292writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 1295writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 1298writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 1301writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 1316writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 1334writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},");