18 references to FormatBoolLiteral
System.Text.Json.SourceGeneration (18)
JsonSourceGenerator.Emitter.cs (18)
663IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 664IsPublic = {{FormatBoolLiteral(property.IsPublic)}}, 665IsVirtual = {{FormatBoolLiteral(property.IsVirtual)}}, 671HasJsonInclude = {{FormatBoolLiteral(property.HasJsonInclude)}}, 672IsExtensionData = {{FormatBoolLiteral(property.IsExtensionData)}}, 735HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 737IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 760IsNullable = {{FormatBoolLiteral(spec.IsNullable)}}, 1192writer.WriteLine($"AllowDuplicateProperties = {FormatBoolLiteral(allowDuplicateProperties)},"); 1195writer.WriteLine($"AllowOutOfOrderMetadataProperties = {FormatBoolLiteral(allowOutOfOrderMetadataProperties)},"); 1198writer.WriteLine($"AllowTrailingCommas = {FormatBoolLiteral(allowTrailingCommas)},"); 1225writer.WriteLine($"RespectNullableAnnotations = {FormatBoolLiteral(respectNullableAnnotations)},"); 1228writer.WriteLine($"RespectRequiredConstructorParameters = {FormatBoolLiteral(respectRequiredConstructorParameters)},"); 1231writer.WriteLine($"IgnoreReadOnlyFields = {FormatBoolLiteral(ignoreReadOnlyFields)},"); 1234writer.WriteLine($"IgnoreReadOnlyProperties = {FormatBoolLiteral(ignoreReadOnlyProperties)},"); 1237writer.WriteLine($"IncludeFields = {FormatBoolLiteral(includeFields)},"); 1252writer.WriteLine($"PropertyNameCaseInsensitive = {FormatBoolLiteral(propertyNameCaseInsensitive)},"); 1270writer.WriteLine($"WriteIndented = {FormatBoolLiteral(writeIndented)},");