20 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (20)
JsonSourceGenerator.Emitter.cs (20)
896IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 897IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 898IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 904HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 905IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 1495HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 1497IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1520IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 2063writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 2066writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 2069writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 2111writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 2114writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 2117writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 2120writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 2123writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 2126writer.WriteLine($"InferClosedTypePolymorphism = {FormatBoolLiteral(inferClosedTypePolymorphism)},"); 2141writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 2159writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},"); 2357source.AppendLine($" IgnoreUnrecognizedTypeDiscriminators = {FormatBoolLiteral(options.IgnoreUnrecognizedTypeDiscriminators)},");