20 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (20)
JsonSourceGenerator.Emitter.cs (20)
884IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 885IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 886IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 892HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 893IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 1483HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 1485IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1508IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 2051writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 2054writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 2057writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 2099writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 2102writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 2105writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 2108writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 2111writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 2114writer.WriteLine($"InferClosedTypePolymorphism = {FormatBoolLiteral(inferClosedTypePolymorphism)},"); 2129writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 2147writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},"); 2345source.AppendLine($" IgnoreUnrecognizedTypeDiscriminators = {FormatBoolLiteral(options.IgnoreUnrecognizedTypeDiscriminators)},");