19 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (19)
JsonSourceGenerator.Emitter.cs (19)
867IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 868IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 869IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 875HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 876IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 1466HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 1468IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1491IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 2013writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 2016writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 2019writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 2061writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 2064writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 2067writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 2070writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 2073writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 2088writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 2106writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},"); 2304source.AppendLine($" IgnoreUnrecognizedTypeDiscriminators = {FormatBoolLiteral(options.IgnoreUnrecognizedTypeDiscriminators)},");