18 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (18)
JsonSourceGenerator.Emitter.cs (18)
675IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 676IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 677IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 683HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 684IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 1274HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 1276IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1299IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1796writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 1799writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 1802writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 1829writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 1832writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 1835writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 1838writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 1841writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 1856writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 1874writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},");