18 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (18)
JsonSourceGenerator.Emitter.cs (18)
676IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 677IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 678IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 684HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 685IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 748HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 750IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 773IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1205writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 1208writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 1211writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 1238writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 1241writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 1244writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 1247writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 1250writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 1265writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 1283writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},");