20 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (20)
JsonSourceGenerator.Emitter.cs (20)
887IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 888IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 889IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 895HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 896IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 1568HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 1570IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1593IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 2136writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 2139writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 2142writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 2184writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 2187writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 2190writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 2193writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 2196writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 2199writer.WriteLine($"InferClosedTypePolymorphism = {FormatBoolLiteral(inferClosedTypePolymorphism)},"); 2214writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 2232writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},"); 2430source.AppendLine($" IgnoreUnrecognizedTypeDiscriminators = {FormatBoolLiteral(options.IgnoreUnrecognizedTypeDiscriminators)},");